RibbonAndBackstageCustomizationsPart.AddImagePart 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
AddImagePart(ImagePartType) |
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart |
AddImagePart(String) |
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart |
AddImagePart(ImagePartType, String) |
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart |
AddImagePart(String, String) |
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart |
AddImagePart(ImagePartType)
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart
public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (DocumentFormat.OpenXml.Packaging.ImagePartType partType);
member this.AddImagePart : DocumentFormat.OpenXml.Packaging.ImagePartType -> DocumentFormat.OpenXml.Packaging.ImagePart
Public Function AddImagePart (partType As ImagePartType) As ImagePart
Parameters
- partType
- ImagePartType
The part type of the ImagePart
Returns
The newly added part.
Applies to
AddImagePart(String)
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart
public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (string contentType);
member this.AddImagePart : string -> DocumentFormat.OpenXml.Packaging.ImagePart
Public Function AddImagePart (contentType As String) As ImagePart
Parameters
- contentType
- String
The content type of the ImagePart
Returns
The newly added part.
Applies to
AddImagePart(ImagePartType, String)
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart
public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (DocumentFormat.OpenXml.Packaging.ImagePartType partType, string id);
member this.AddImagePart : DocumentFormat.OpenXml.Packaging.ImagePartType * string -> DocumentFormat.OpenXml.Packaging.ImagePart
Public Function AddImagePart (partType As ImagePartType, id As String) As ImagePart
Parameters
- partType
- ImagePartType
The part type of the ImagePart
- id
- String
The relationship id
Returns
The newly added part.
Applies to
AddImagePart(String, String)
Adds a ImagePart to the RibbonAndBackstageCustomizationsPart
public DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (string contentType, string id);
member this.AddImagePart : string * string -> DocumentFormat.OpenXml.Packaging.ImagePart
Public Function AddImagePart (contentType As String, id As String) As ImagePart
Parameters
- contentType
- String
The content type of the ImagePart
- id
- String
The relationship id
Returns
The newly added part.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應