Share via


WordprocessingDocument.AddThumbnailPart Method (ThumbnailPartType) (Microsoft.Office.DocumentFormat.OpenXml.Packaging)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Add a ThumbnailPart to the WordprocessingDocument

Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.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
)

Parameters

  • partType
    the part type of the ThumbnailPart

Return Value

The newly added part

See Also

Reference

WordprocessingDocument Class
WordprocessingDocument Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace