ChartPart.AddEmbeddedPackagePart 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddEmbeddedPackagePart(EmbeddedPackagePartType)
public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType partType);
member this.AddEmbeddedPackagePart : DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (partType As EmbeddedPackagePartType) As EmbeddedPackagePart
参数
- partType
- EmbeddedPackagePartType
返回
适用于
AddEmbeddedPackagePart(String)
将 EmbeddedPackagePart 添加到 ChartPart
public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (string contentType);
member this.AddEmbeddedPackagePart : string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (contentType As String) As EmbeddedPackagePart
参数
- contentType
- String
EmbeddedPackagePart 的内容类型
返回
新添加的部件。
适用于
AddEmbeddedPackagePart(EmbeddedPackagePartType, String)
public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType partType, string id);
member this.AddEmbeddedPackagePart : DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (partType As EmbeddedPackagePartType, id As String) As EmbeddedPackagePart
参数
- partType
- EmbeddedPackagePartType
- id
- String
返回
适用于
AddEmbeddedPackagePart(String, String)
public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (string contentType, string id);
member this.AddEmbeddedPackagePart : string * string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (contentType As String, id As String) As EmbeddedPackagePart
参数
- contentType
- String
- id
- String