Class PdfCollectionSort
- Namespace
- iTextSharp.text.pdf.collection
- Assembly
- iTextSharp.LGPLv2.Core.dll
public class PdfCollectionSort : PdfDictionary
- Inheritance
-
PdfCollectionSort
- Inherited Members
Constructors
PdfCollectionSort(string)
Constructs a PDF Collection Sort Dictionary.
public PdfCollectionSort(string key)
Parameters
key
stringthe key of the field that will be used to sort entries
PdfCollectionSort(string[])
Constructs a PDF Collection Sort Dictionary.
public PdfCollectionSort(string[] keys)
Parameters
keys
string[]the keys of the fields that will be used to sort entries
Methods
SetSortOrder(bool)
Defines the sort order of the field (ascending or descending).
public void SetSortOrder(bool ascending)
Parameters
ascending
booltrue is the default, use false for descending order
SetSortOrder(bool[])
Defines the sort order of the field (ascending or descending).
public void SetSortOrder(bool[] ascending)
Parameters
ascending
bool[]an array with every element corresponding with a name of a field.