PresentationPart.AddFontPart Method (FontPartType)
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 _
) As FontPart
'Usage
Dim instance As PresentationPart
Dim partType As FontPartType
Dim returnValue As FontPart
returnValue = instance.AddFontPart(partType)
public FontPart AddFontPart(
FontPartType partType
)
Parameters
- partType
Type: DocumentFormat.OpenXml.Packaging.FontPartType
The part type of the FontPart
Return Value
Type: DocumentFormat.OpenXml.Packaging.FontPart
The newly added part.