ImagePartExtensions.AddImagePart(MainDocumentPart, String) 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.
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
- main
- MainDocumentPart
- extension
- String