Freigeben über


PresentationDocument.AddThumbnailPart-Methode (String)

Adds a ThumbnailPart to the PresentationDocument.

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

Syntax

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

returnValue = instance.AddThumbnailPart(contentType)
public ThumbnailPart AddThumbnailPart(
    string contentType
)

Parameter

  • contentType
    Typ: System.String
    the content type of the ThumbnailPart

Rückgabewert

Typ: DocumentFormat.OpenXml.Packaging.ThumbnailPart
The newly added ThumbnailPart.

Siehe auch

Referenz

PresentationDocument Klasse

PresentationDocument-Member

AddThumbnailPart Überladung

DocumentFormat.OpenXml.Packaging-Namespace