Skip to main content

PageRange Class

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Represents a range of pages.

public class PageRange

Inheritance: object -> PageRange

Constructors

NameDescription
PageRangeNo summary available.

PageRange Constructor

public PageRange(int startPage, int endPage)

Parameters

startPage int

endPage int

Methods

NameDescription
SingleCreates a range for a single page.

Single Method

Creates a range for a single page.

public Avalonia.Controls.Pdf.Services.PageRange Single(int page)

Parameters

page int

Returns

Avalonia.Controls.Pdf.Services.PageRange

Properties

NameDescription
AllCreates a range for all pages.
EndPageEnding page (1-based, inclusive).
StartPageStarting page (1-based).

All Property

Creates a range for all pages.

public Avalonia.Controls.Pdf.Services.PageRange All { get; set; }

EndPage Property

Ending page (1-based, inclusive).

public int EndPage { get; set; }

StartPage Property

Starting page (1-based).

public int StartPage { get; set; }