Aracılığıyla paylaş


MacroSheetPart.AddEmbeddedObjectPart Method

Definition

Overloads

AddEmbeddedObjectPart(EmbeddedObjectPartType)
AddEmbeddedObjectPart(String)

Adds a EmbeddedObjectPart to the MacroSheetPart

AddEmbeddedObjectPart(EmbeddedObjectPartType, String)
AddEmbeddedObjectPart(String, String)

AddEmbeddedObjectPart(EmbeddedObjectPartType)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType) As EmbeddedObjectPart

Parameters

Returns

Applies to

AddEmbeddedObjectPart(String)

Adds a EmbeddedObjectPart to the MacroSheetPart

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (string contentType);
member this.AddEmbeddedObjectPart : string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (contentType As String) As EmbeddedObjectPart

Parameters

contentType
String

The content type of the EmbeddedObjectPart

Returns

The newly added part.

Applies to

AddEmbeddedObjectPart(EmbeddedObjectPartType, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType, string id);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType, id As String) As EmbeddedObjectPart

Parameters

id
String

Returns

Applies to

AddEmbeddedObjectPart(String, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (string contentType, string id);
member this.AddEmbeddedObjectPart : string * string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (contentType As String, id As String) As EmbeddedObjectPart

Parameters

contentType
String
id
String

Returns

Applies to