PresentationPart.AddThumbnailPart Method (ThumbnailPartType)
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Adds a ThumbnailPart to the PresentationPart.
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 PresentationPart
Dim partType As ThumbnailPartType
Dim returnValue As ThumbnailPart
returnValue = instance.AddThumbnailPart(partType)
public ThumbnailPart AddThumbnailPart(
ThumbnailPartType partType
)
Parameters
- partType
Type: DocumentFormat.OpenXml.Packaging.ThumbnailPartType
Specifies the part type of the ThumbnailPart.
Return Value
Type: DocumentFormat.OpenXml.Packaging.ThumbnailPart
Returns the newly added part.