Share via


EndnotesPart.AddImagePart Method

Definition

Overloads

AddImagePart(String, String)

Adds a ImagePart to the EndnotesPart

AddImagePart(ImagePartType, String)

Adds a ImagePart to the EndnotesPart

AddImagePart(ImagePartType)

Adds a ImagePart to the EndnotesPart

AddImagePart(String)

Adds a ImagePart to the EndnotesPart

AddImagePart(String, String)

Adds a ImagePart to the EndnotesPart

public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (string contentType, string id);

Parameters

contentType
String

The content type of the ImagePart

id
String

The relationship id

Returns

The newly added part.

Applies to

AddImagePart(ImagePartType, String)

Adds a ImagePart to the EndnotesPart

public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (DocumentFormat.OpenXml.Packaging.ImagePartType partType, string id);

Parameters

partType
ImagePartType

The part type of the ImagePart

id
String

The relationship id

Returns

The newly added part.

Applies to

AddImagePart(ImagePartType)

Adds a ImagePart to the EndnotesPart

public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (DocumentFormat.OpenXml.Packaging.ImagePartType partType);

Parameters

partType
ImagePartType

The part type of the ImagePart

Returns

The newly added part.

Applies to

AddImagePart(String)

Adds a ImagePart to the EndnotesPart

public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (string contentType);

Parameters

contentType
String

The content type of the ImagePart

Returns

The newly added part.

Applies to