Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeAiImage

Namespace OfficeIMO.AI
Assembly OfficeIMO.AI
Modifiers sealed

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

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 requiredposition: 0
page System.Int32 requiredposition: 1
mediaType System.String requiredposition: 2
bytes System.Byte[] requiredposition: 3
width System.Int32 requiredposition: 4
height System.Int32 requiredposition: 5

Methods

public Byte[] CopyBytes() #
Returns: Byte[]

Copies the payload for a transport without exposing mutable snapshot state.

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.