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
System.Object
PageSet
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftron.PDF
Assembly: PDFNetAndroid.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(Int32)

Construct a set of pages with just one number.

Declaration
public PageSet(int one_page)
Parameters
Type Name Description
System.Int32 one_page

the one_page

See Also
AddPage(Int32)

PageSet(Int32, Int32)

Construct a range of pages.

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

the range_start

System.Int32 range_end

the range_end

See Also
AddRange(Int32, Int32, PageSet.Filter)

PageSet(Int32, Int32, PageSet.Filter)

Construct a filtered range of pages.

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

the range_start

System.Int32 range_end

the range_end

PageSet.Filter filter

the filter

See Also
AddRange(Int32, Int32, PageSet.Filter)

Methods

AddPage(Int32)

Add a value to the sequence.

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

The page number being added

AddRange(Int32, Int32)

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
System.Int32 range_start

The low value in the range

System.Int32 range_end

The high value in the range

AddRange(Int32, Int32, PageSet.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
System.Int32 range_start

The low value in the range

System.Int32 range_end

The high value in the range

PageSet.Filter filter

page set filter type

Destroy()

Declaration
public void Destroy()

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Finalize()

Releases all resources used by the PageSet

Declaration
protected void Finalize()

Implements

System.IDisposable
In This Article
Back to top Generated by DocFX