Skip to end of metadata
Go to start of metadata

Class describes pages range.

Definition

public sealed class PagesRange : ModelBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

PagesRange Constructor() Creates a new instance of the StiPagesRange class.
PagesRange Constructor(int) Creates a new instance of the StiPagesRange class.
PagesRange Constructor(string) Creates a new instance of the StiPagesRange class.
PagesRange Constructor(RangeType, string, int) Creates a new instance of the StiPagesRange class.

Public Properties

CurrentPage
IsAll
IsCurrentPage
IsPages
PageRanges Gets range of pages.
RangeType Gets type of pages range.

Fields

All

Public Methods


Public Constructors

public PagesRange()

Creates a new instance of the StiPagesRange class.

public PagesRange(int currentPage)

Creates a new instance of the StiPagesRange class.

Parameters

currentPage Current page.

public PagesRange(string pageRanges)

Creates a new instance of the StiPagesRange class.

Parameters

pageRanges Range of pages.

public PagesRange(RangeType rangeType, string pageRanges, int currentPage)

Creates a new instance of the StiPagesRange class.

Parameters

rangeType Type of pages range.
pageRanges Range of pages.
currentPage Current page.

Public Properties

public int CurrentPage { get; set; }

public bool IsAll { get; set; }

public bool IsCurrentPage { get; set; }

public bool IsPages { get; set; }

public string PageRanges { get; set; }

Gets range of pages.

public RangeType RangeType { get; }

Gets type of pages range.

Fields

public static readonly PagesRange All

Public Methods

public ReportPageCollection GetSelectedPages(ReportPageCollection originalPages)

Returns collection of selected pages.

Parameters

originalPages Collection of pages for filtering.

Return Types

Collection of selected pages.

public int GetSelectedPagesForImageExport(int Count)

Parameters

Count

public bool Validate()

  • No labels