다음을 통해 공유


WordprocessingDocument.AddThumbnailPart Method

Definition

Overloads

AddThumbnailPart(ThumbnailPartType)

Adds a ThumbnailPart to the WordprocessingDocument.

AddThumbnailPart(String)

Adds a ThumbnailPart to the WordprocessingDocument.

AddThumbnailPart(ThumbnailPartType)

Adds a ThumbnailPart to the WordprocessingDocument.

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 WordprocessingDocument.

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