PresentationPart.AddFontPart-Methode (FontPartType, String)
Adds a FontPart to the PresentationPart.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function AddFontPart ( _
partType As FontPartType, _
id As String _
) As FontPart
'Usage
Dim instance As PresentationPart
Dim partType As FontPartType
Dim id As String
Dim returnValue As FontPart
returnValue = instance.AddFontPart(partType, _
id)
public FontPart AddFontPart(
FontPartType partType,
string id
)
Parameter
- partType
Typ: DocumentFormat.OpenXml.Packaging.FontPartType
The part type of the FontPart
- id
Typ: System.String
The relationship id
Rückgabewert
Typ: DocumentFormat.OpenXml.Packaging.FontPart
The newly added part.