Freigeben über


WordprocessingDocument.AddThumbnailPart-Methode (ThumbnailPartType)

Adds a ThumbnailPart to the WordprocessingDocument.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Function AddThumbnailPart ( _
    partType As ThumbnailPartType _
) As ThumbnailPart
'Usage
Dim instance As WordprocessingDocument
Dim partType As ThumbnailPartType
Dim returnValue As ThumbnailPart

returnValue = instance.AddThumbnailPart(partType)
public ThumbnailPart AddThumbnailPart(
    ThumbnailPartType partType
)

Parameter

Rückgabewert

Typ: DocumentFormat.OpenXml.Packaging.ThumbnailPart
The newly added ThumbnailPart.

Siehe auch

Referenz

WordprocessingDocument Klasse

WordprocessingDocument-Member

AddThumbnailPart Überladung

DocumentFormat.OpenXml.Packaging-Namespace