HandoutMasterPart.AddThumbnailPart Method (String, 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 HandoutMasterPart.

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


Public Function AddThumbnailPart ( _
    contentType As String, _
    id As String _
) As ThumbnailPart
Dim instance As HandoutMasterPart
Dim contentType As String
Dim id As String
Dim returnValue As ThumbnailPart

returnValue = instance.AddThumbnailPart(contentType, _
public ThumbnailPart AddThumbnailPart(
    string contentType,
    string id


  • contentType
    Type: System.String
    Specifies the content type of the ThumbnailPart.

Return Value

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

See Also


HandoutMasterPart Class

HandoutMasterPart Members

AddThumbnailPart Overload

DocumentFormat.OpenXml.Packaging Namespace