FontTablePart.AddFontPart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddFontPart(FontPartType) |
Adds a FontPart to the FontTablePart |
AddFontPart(String) |
Adds a FontPart to the FontTablePart |
AddFontPart(FontPartType, String) |
Adds a FontPart to the FontTablePart |
AddFontPart(String, String) |
Adds a FontPart to the FontTablePart |
AddFontPart(FontPartType)
Adds a FontPart to the FontTablePart
public DocumentFormat.OpenXml.Packaging.FontPart AddFontPart (DocumentFormat.OpenXml.Packaging.FontPartType partType);
member this.AddFontPart : DocumentFormat.OpenXml.Packaging.FontPartType -> DocumentFormat.OpenXml.Packaging.FontPart
Public Function AddFontPart (partType As FontPartType) As FontPart
Parameters
- partType
- FontPartType
The part type of the FontPart
Returns
The newly added part.
Applies to
AddFontPart(String)
Adds a FontPart to the FontTablePart
public DocumentFormat.OpenXml.Packaging.FontPart AddFontPart (string contentType);
member this.AddFontPart : string -> DocumentFormat.OpenXml.Packaging.FontPart
Public Function AddFontPart (contentType As String) As FontPart
Parameters
- contentType
- String
The content type of the FontPart
Returns
The newly added part.
Applies to
AddFontPart(FontPartType, String)
Adds a FontPart to the FontTablePart
public DocumentFormat.OpenXml.Packaging.FontPart AddFontPart (DocumentFormat.OpenXml.Packaging.FontPartType partType, string id);
member this.AddFontPart : DocumentFormat.OpenXml.Packaging.FontPartType * string -> DocumentFormat.OpenXml.Packaging.FontPart
Public Function AddFontPart (partType As FontPartType, id As String) As FontPart
Parameters
- partType
- FontPartType
The part type of the FontPart
- id
- String
The relationship id
Returns
The newly added part.
Applies to
AddFontPart(String, String)
Adds a FontPart to the FontTablePart
public DocumentFormat.OpenXml.Packaging.FontPart AddFontPart (string contentType, string id);
member this.AddFontPart : string * string -> DocumentFormat.OpenXml.Packaging.FontPart
Public Function AddFontPart (contentType As String, id As String) As FontPart
Parameters
- contentType
- String
The content type of the FontPart
- id
- String
The relationship id
Returns
The newly added part.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應