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.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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(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

Dispose()

Releases all resources used by the PageSet

Declaration
public override sealed void Dispose()

Dispose(Boolean)

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

Finalize()

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

Declaration
protected void Finalize()

Implements

System.IDisposable
Back to top Generated by DocFX