Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeAiImage

OfficeIMO.AI

Namespace
OfficeIMO.AI
Assembly
OfficeIMO.AI
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

A source-bound inline image; payload access returns a defensive copy.

Inheritance

  • object
  • OfficeAiImage

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Accepted by parameters 3

Constructors

public OfficeAiImage(string id, int page, string mediaType, byte[] bytes, int width, int height) #

Creates an image whose dimensions must have been verified by the image-producing owner.

Parameters

id string required
page int required
mediaType string required
bytes byte[] required
width int required
height int required

Methods

public byte[] CopyBytes() #

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

Returns

byte[]

Properties

public string Id { get; } #

Evidence identifier within its source snapshot.

public int Page { get; } #

One-based source page.

public string MediaType { get; } #

Encoded media type.

public int Width { get; } #

Decoded width supplied by the image owner.

public int Height { get; } #

Decoded height supplied by the image owner.

public int ByteLength { get; } #

Encoded payload length.

public string ContentHash { get; } #

SHA-256 of the immutable encoded payload.