Udostępnij za pośrednictwem


PresentationDocument.AddThumbnailPart Method

Definition

Overloads

AddThumbnailPart(ThumbnailPartType)

Adds a ThumbnailPart to the PresentationDocument.

AddThumbnailPart(String)

Adds a ThumbnailPart to the PresentationDocument.

AddThumbnailPart(ThumbnailPartType)

Adds a ThumbnailPart to the PresentationDocument.

public DocumentFormat.OpenXml.Packaging.ThumbnailPart AddThumbnailPart (DocumentFormat.OpenXml.Packaging.ThumbnailPartType partType);
member this.AddThumbnailPart : DocumentFormat.OpenXml.Packaging.ThumbnailPartType -> DocumentFormat.OpenXml.Packaging.ThumbnailPart
Public Function AddThumbnailPart (partType As ThumbnailPartType) As ThumbnailPart

Parameters

partType
ThumbnailPartType

The type of the ThumbnailPart.

Returns

The newly added ThumbnailPart.

Applies to

AddThumbnailPart(String)

Adds a ThumbnailPart to the PresentationDocument.

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

Parameters

contentType
String

The content type of the ThumbnailPart.

Returns

The newly added ThumbnailPart.

Applies to