ThemePart.AddImagePart ThemePart.AddImagePart ThemePart.AddImagePart Method

Definition

Overloads

AddImagePart(ImagePartType) AddImagePart(ImagePartType) AddImagePart(ImagePartType)

Adds a ImagePart to the ThemePart.

AddImagePart(String) AddImagePart(String) AddImagePart(String)

Adds a ImagePart to the ThemePart.

AddImagePart(ImagePartType, String) AddImagePart(ImagePartType, String) AddImagePart(ImagePartType, String)

Adds a ImagePart to the ThemePart.

AddImagePart(String, String) AddImagePart(String, String) AddImagePart(String, String)

Adds a ImagePart to the ThemePart.

AddImagePart(ImagePartType) AddImagePart(ImagePartType) AddImagePart(ImagePartType)

Adds a ImagePart to the ThemePart.

public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (DocumentFormat.OpenXml.Packaging.ImagePartType partType);
member this.AddImagePart : DocumentFormat.OpenXml.Packaging.ImagePartType -> DocumentFormat.OpenXml.Packaging.ImagePart
Public Function AddImagePart (partType As ImagePartType) As ImagePart

Parameters

partType
ImagePartType ImagePartType ImagePartType

The part type of the ImagePart

Returns

The newly added part.

AddImagePart(String) AddImagePart(String) AddImagePart(String)

Adds a ImagePart to the ThemePart.

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

Parameters

contentType
String String String

the content type of the ImagePart

Returns

The newly added part.

AddImagePart(ImagePartType, String) AddImagePart(ImagePartType, String) AddImagePart(ImagePartType, String)

Adds a ImagePart to the ThemePart.

public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (DocumentFormat.OpenXml.Packaging.ImagePartType partType, string id);
member this.AddImagePart : DocumentFormat.OpenXml.Packaging.ImagePartType * string -> DocumentFormat.OpenXml.Packaging.ImagePart
Public Function AddImagePart (partType As ImagePartType, id As String) As ImagePart

Parameters

partType
ImagePartType ImagePartType ImagePartType

The part type of the ImagePart

id
String String String

The relationship id

Returns

The newly added part.

AddImagePart(String, String) AddImagePart(String, String) AddImagePart(String, String)

Adds a ImagePart to the ThemePart.

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

Parameters

contentType
String String String

the content type of the ImagePart

id
String String String

The relationship id

Returns

The newly added part.

Applies to