API Reference
Class
WordTemplateImage
Describes an embedded image supplied to a Word template placeholder.
Inheritance
- Object
- WordTemplateImage
Constructors
public WordTemplateImage(Byte[] content, String fileName, Nullable<Double> width = null, Nullable<Double> height = null, String description = "") #Creates an embedded image value from encoded image bytes.
Parameters
- content System.Byte[]
- Encoded image bytes, such as PNG or JPEG content.
- fileName System.String
- File name with an extension that identifies the image format.
- width System.Nullable{System.Double} = null
- Optional width in pixels.
- height System.Nullable{System.Double} = null
- Optional height in pixels.
- description System.String = ""
- Alternative-text description stored with the image.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Byte[] Content { get; } #Gets a copy of the encoded image bytes.
public String FileName { get; } #Gets the image file name used to identify its format.
public Nullable<Double> Width { get; } #Gets the optional image width in pixels.
public Nullable<Double> Height { get; } #Gets the optional image height in pixels.
public String Description { get; } #Gets the image alternative-text description.