API Reference
Class
OfficeAiImage
A source-bound inline image; payload access returns a defensive copy.
Inheritance
- Object
- OfficeAiImage
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeAiDocument.Images
- Property OfficeAiExecutionRequest.Images
Accepted by parameters
Constructors
public OfficeAiImage(String id, Int32 page, String mediaType, Byte[] bytes, Int32 width, Int32 height) #Creates an image whose dimensions must have been verified by the image-producing owner.
Parameters
- id System.String
- page System.Int32
- mediaType System.String
- bytes System.Byte[]
- width System.Int32
- height System.Int32
Methods
public Byte[] CopyBytes() #Returns:
Byte[]Copies the payload for a transport without exposing mutable snapshot state.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Id { get; } #Evidence identifier within its source snapshot.
public Int32 Page { get; } #One-based source page.
public String MediaType { get; } #Encoded media type.
public Int32 Width { get; } #Decoded width supplied by the image owner.
public Int32 Height { get; } #Decoded height supplied by the image owner.
public Int32 ByteLength { get; } #Encoded payload length.
public String ContentHash { get; } #SHA-256 of the immutable encoded payload.