Table of Contents

Method GetSourcePageCount

Namespace
DocWright.Formats.Pdf
Assembly
DocWright.Formats.Pdf.dll

GetSourcePageCount(int)

Gets the number of pages a source has.

public int GetSourcePageCount(int sourceIndex)

Parameters

sourceIndex int

The index returned by an AddSource call.

Returns

int

The source's page count.

Exceptions

ArgumentOutOfRangeException

The index names no source.