PresentationPart.AddThumbnailPart Method (ThumbnailPartType, String)

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, _
    id As String _
) As ThumbnailPart
'Usage
Dim instance As PresentationPart
Dim partType As ThumbnailPartType
Dim id As String
Dim returnValue As ThumbnailPart

returnValue = instance.AddThumbnailPart(partType, _
    id)
public ThumbnailPart AddThumbnailPart(
    ThumbnailPartType partType,
    string id
)

Parameters

Return Value

Type: DocumentFormat.OpenXml.Packaging.ThumbnailPart
Returns the newly added part.

See Also

Reference

PresentationPart Class

PresentationPart Members

AddThumbnailPart Overload

DocumentFormat.OpenXml.Packaging Namespace