API Reference
Class
ImageEmbedder
Provides methods for embedding images into Wordprocessing documents.
Inheritance
- Object
- ImageEmbedder
Methods
public static Run CreateImageRun(MainDocumentPart mainPart, String src) #Returns:
RunCreates a run element containing an image loaded from the specified source.
Parameters
- mainPart DocumentFormat.OpenXml.Packaging.MainDocumentPart
- Main document part where the image will be stored.
- src System.String
- Path, URI or data URI representing the image.
Returns
A Run containing the embedded image.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object