Share via


ContentRange.Pages(Int32, Int32) Method

Definition

Creates a ContentRange for a contiguous range of document pages (1-based, inclusive).

public static Azure.AI.ContentUnderstanding.ContentRange Pages(int start, int end);
static member Pages : int * int -> Azure.AI.ContentUnderstanding.ContentRange
Public Shared Function Pages (start As Integer, end As Integer) As ContentRange

Parameters

start
Int32

The 1-based start page number (inclusive).

end
Int32

The 1-based end page number (inclusive).

Returns

A ContentRange representing the page range, e.g. "1-3".

Exceptions

start is less than 1, or end is less than start.

Applies to