Freigeben über


PresentationPart.AddFontPart-Methode (String)

Adds a FontPart to the PresentationPart.

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

Syntax

'Declaration
Public Function AddFontPart ( _
    contentType As String _
) As FontPart
'Usage
Dim instance As PresentationPart
Dim contentType As String
Dim returnValue As FontPart

returnValue = instance.AddFontPart(contentType)
public FontPart AddFontPart(
    string contentType
)

Parameter

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

Rückgabewert

Typ: DocumentFormat.OpenXml.Packaging.FontPart
The newly added part.

Siehe auch

Referenz

PresentationPart Klasse

PresentationPart-Member

AddFontPart Überladung

DocumentFormat.OpenXml.Packaging-Namespace