Table of Contents

Method GetPageWidth

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

GetPageWidth(int)

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

public int GetPageWidth(int pageIndex)

Parameters

pageIndex int

Zero-based page index.

Returns

int

The page width 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