共用方式為


ImagePartExtensions.AddImagePart(MainDocumentPart, String) Method

Definition

public static DocumentFormat.OpenXml.Packaging.ImagePart AddImagePart (this DocumentFormat.OpenXml.Packaging.MainDocumentPart main, string extension);
static member AddImagePart : DocumentFormat.OpenXml.Packaging.MainDocumentPart * string -> DocumentFormat.OpenXml.Packaging.ImagePart
<Extension()>
Public Function AddImagePart (main As MainDocumentPart, extension As String) As ImagePart

Parameters

extension
String

Returns

Applies to