Table of Contents

Method SelectPage

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

SelectPage(int)

Selects and decodes a specific page from a multipage image (e.g., multipage TIFF). After this call, all properties (Width, Height, Stride, Format, HorizontalResolution, VerticalResolution, Buffer) are updated to reflect the newly decoded page.

public void SelectPage(int pageIndex)

Parameters

pageIndex int

Zero-based page index. Must be in range [0, PageCount).

Exceptions

ArgumentOutOfRangeException

Thrown when pageIndex is out of range.

InvalidOperationException

Thrown when decoding the page fails.

ObjectDisposedException

Thrown if this instance has been disposed.

Share