Show / Hide Table of Contents

Class PageSet

PageSet is a container of page numbers ordered following a linear sequence. The page numbers are integers and must be greater than zero. Duplicates are allowed.

Inheritance
object
PageSet
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class PageSet : IDisposable
Remarks

This is not a mathematical set

Constructors

PageSet()

Default constructor. Constructs 'PageSet' with no pages

Declaration
public PageSet()

PageSet(int)

Construct a set of pages with just one number.

Declaration
public PageSet(int one_page)
Parameters
Type Name Description
int one_page

the one_page

See Also
AddPage(int)

PageSet(int, int)

Construct a range of pages.

Declaration
public PageSet(int range_start, int range_end)
Parameters
Type Name Description
int range_start

the range_start

int range_end

the range_end

See Also
AddRange(int, int, Filter)

PageSet(int, int, Filter)

Construct a filtered range of pages.

Declaration
public PageSet(int range_start, int range_end, PageSet.Filter filter)
Parameters
Type Name Description
int range_start

the range_start

int range_end

the range_end

PageSet.Filter filter

the filter

See Also
AddRange(int, int, Filter)

Methods

AddPage(int)

Add a value to the sequence.

Declaration
public void AddPage(int one_page)
Parameters
Type Name Description
int one_page

The page number being added

AddRange(int, int)

Add a range of values to the sequence. Reverse ordering is legal.

Declaration
public void AddRange(int range_start, int range_end)
Parameters
Type Name Description
int range_start

The low value in the range

int range_end

The high value in the range

AddRange(int, int, Filter)

Add a range of values to the sequence. Reverse ordering is legal.

Declaration
public void AddRange(int range_start, int range_end, PageSet.Filter filter)
Parameters
Type Name Description
int range_start

The low value in the range

int range_end

The high value in the range

PageSet.Filter filter

page set filter type

Dispose()

Releases all resources used by the PageSet

Declaration
public override sealed void Dispose()

Dispose(bool)

Declaration
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)
Parameters
Type Name Description
bool A_0

~PageSet()

Allows a PageSet to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

Declaration
protected ~PageSet()

Implements

IDisposable
In This Article
Back to top Generated by DocFX