SlideMasterPart.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 SlideMasterPart.

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

Syntax

'Declaration
Public Function AddThumbnailPart ( _
    contentType As String, _
    id As String _
) As ThumbnailPart
'Usage
Dim instance As SlideMasterPart
Dim contentType As String
Dim id As String
Dim returnValue As ThumbnailPart

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

Parameters

  • 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

Reference

SlideMasterPart Class

SlideMasterPart Members

AddThumbnailPart Overload

DocumentFormat.OpenXml.Packaging Namespace