Table of Contents

Method GetPageHeight

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

GetPageHeight(int)

Gets the height in pixels of a specific page without decoding it.

public int GetPageHeight(int pageIndex)

Parameters

pageIndex int

Zero-based page index.

Returns

int

The page height in pixels.

Exceptions

ArgumentOutOfRangeException

Thrown when pageIndex is out of range.

ImageLoadingException

Thrown when the page's dimensions cannot be read from its container.

ObjectDisposedException

Thrown if this instance has been disposed.

Share