Freigeben über


FontTablePart.AddFontPart-Methode (String, String)

Adds a FontPart to the FontTablePart.

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

Syntax

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

returnValue = instance.AddFontPart(contentType, _
    id)
public FontPart AddFontPart(
    string contentType,
    string id
)

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

FontTablePart Klasse

FontTablePart-Member

AddFontPart Überladung

DocumentFormat.OpenXml.Packaging-Namespace