|
| PdfReader (String filename) |
|
| PdfReader (String filename, byte[] ownerPassword) |
|
| PdfReader (byte[] pdfIn) |
|
| PdfReader (byte[] pdfIn, byte[] ownerPassword) |
|
| PdfReader (String filename, X509Certificate certificate, ICipherParameters certificateKey) |
|
| PdfReader (Uri url) |
|
| PdfReader (Uri url, byte[] ownerPassword) |
|
| PdfReader (Stream isp, byte[] ownerPassword) |
|
| PdfReader (Stream isp) |
|
| PdfReader (RandomAccessFileOrArray raf, byte[] ownerPassword) |
|
| PdfReader (PdfReader reader) |
|
int | GetPageRotation (int index) |
|
Rectangle | GetPageSizeWithRotation (int index) |
|
Rectangle | GetPageSizeWithRotation (PdfDictionary page) |
|
Rectangle | GetPageSize (int index) |
|
Rectangle | GetPageSize (PdfDictionary page) |
|
Rectangle | GetCropBox (int index) |
|
Rectangle | GetBoxSize (int index, String boxName) |
|
PdfObject | GetPdfObjectRelease (int idx) |
|
PdfObject | GetPdfObject (int idx) |
|
void | ResetLastXrefPartial () |
|
void | ReleaseLastXrefPartial () |
|
PRIndirectReference | AddPdfObject (PdfObject obj) |
|
double | DumpPerc () |
|
bool | IsRebuilt () |
|
PdfDictionary | GetPageN (int pageNum) |
|
PdfDictionary | GetPageNRelease (int pageNum) |
|
void | ReleasePage (int pageNum) |
|
void | ResetReleasePage () |
|
PRIndirectReference | GetPageOrigRef (int pageNum) |
|
byte[] | GetPageContent (int pageNum, RandomAccessFileOrArray file) |
|
byte[] | GetPageContent (int pageNum) |
|
void | SetPageContent (int pageNum, byte[] content) |
|
void | SetPageContent (int pageNum, byte[] content, int compressionLevel) |
|
void | EliminateSharedStreams () |
|
bool | IsEncrypted () |
|
bool | Is128Key () |
|
int | ShuffleSubsetNames () |
|
int | CreateFakeFontSubsets () |
|
Hashtable | GetNamedDestination () |
|
Hashtable | GetNamedDestination (bool keepNames) |
|
Hashtable | GetNamedDestinationFromNames () |
|
Hashtable | GetNamedDestinationFromNames (bool keepNames) |
|
Hashtable | GetNamedDestinationFromStrings () |
|
void | RemoveFields () |
|
void | RemoveAnnotations () |
|
ArrayList | GetLinks (int page) |
|
void | ConsolidateNamedDestinations () |
|
void | Close () |
|
int | RemoveUnusedObjects () |
|
String | GetJavaScript (RandomAccessFileOrArray file) |
|
void | SelectPages (String ranges) |
|
void | SelectPages (ArrayList pagesToKeep) |
|
virtual void | AddViewerPreference (PdfName key, PdfObject value) |
|
bool | IsNewXrefType () |
|
bool | IsHybridXref () |
|
void | RemoveUsageRights () |
|
int | GetCertificationLevel () |
|
int | GetCryptoMode () |
|
bool | IsMetadataEncrypted () |
|
byte[] | ComputeUserPassword () |
|
void | Dispose () |
|
Reads a PDF document.
- Author
- Paulo Soares (psoar.nosp@m.es@c.nosp@m.onsis.nosp@m.te.p.nosp@m.t)
-
Kazuya Ujihara
◆ PdfReader() [1/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
String |
filename | ) |
|
Reads and parses a PDF document.
- Parameters
-
filename | the file name of the document |
- Exceptions
-
◆ PdfReader() [2/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
String |
filename, |
|
|
byte[] |
ownerPassword |
|
) |
| |
Reads and parses a PDF document.
- Parameters
-
filename | the file name of the document |
ownerPassword | the password to read the document |
- Exceptions
-
◆ PdfReader() [3/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
byte[] |
pdfIn | ) |
|
Reads and parses a PDF document.
- Parameters
-
pdfIn | the byte array with the document |
- Exceptions
-
◆ PdfReader() [4/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
byte[] |
pdfIn, |
|
|
byte[] |
ownerPassword |
|
) |
| |
Reads and parses a PDF document.
- Parameters
-
pdfIn | the byte array with the document |
ownerPassword | the password to read the document |
- Exceptions
-
◆ PdfReader() [5/11]
Reads and parses a PDF document.
- Parameters
-
filename | the file name of the document |
certificate | the certificate to read the document |
certificateKey | the private key of the certificate |
certificateKeyProvider | the security provider for certificateKey |
- Exceptions
-
◆ PdfReader() [6/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
Uri |
url | ) |
|
Reads and parses a PDF document.
- Parameters
-
url | the Uri of the document |
- Exceptions
-
◆ PdfReader() [7/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
Uri |
url, |
|
|
byte[] |
ownerPassword |
|
) |
| |
Reads and parses a PDF document.
- Parameters
-
url | the Uri of the document |
ownerPassword | the password to read the document |
- Exceptions
-
◆ PdfReader() [8/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
Stream |
isp, |
|
|
byte[] |
ownerPassword |
|
) |
| |
Reads and parses a PDF document.
- Parameters
-
is | the InputStream containing the document. The stream is read to the end but is not closed |
ownerPassword | the password to read the document |
- Exceptions
-
◆ PdfReader() [9/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
Stream |
isp | ) |
|
Reads and parses a PDF document.
- Parameters
-
isp | the InputStream containing the document. The stream is read to the end but is not closed |
- Exceptions
-
◆ PdfReader() [10/11]
Reads and parses a pdf document. Contrary to the other constructors only the xref is read into memory. The reader is said to be working in "partial" mode as only parts of the pdf are read as needed. The pdf is left open but may be closed at any time with PdfReader.Close()
, reopen is automatic.
- Parameters
-
raf | the document location |
ownerPassword | the password or null for no password |
- Exceptions
-
◆ PdfReader() [11/11]
iTextSharp.text.pdf.PdfReader.PdfReader |
( |
PdfReader |
reader | ) |
|
Creates an independent duplicate.
- Parameters
-
◆ AddPdfObject()
- Parameters
-
- Returns
- an indirect reference
◆ AddViewerPreference()
virtual void iTextSharp.text.pdf.PdfReader.AddViewerPreference |
( |
PdfName |
key, |
|
|
PdfObject |
value |
|
) |
| |
|
virtual |
◆ ASCII85Decode()
static byte [] iTextSharp.text.pdf.PdfReader.ASCII85Decode |
( |
byte[] |
inp | ) |
|
|
static |
Decodes a stream that has the ASCII85Decode filter.
- Parameters
-
- Returns
- the decoded data
◆ ASCIIHexDecode()
static byte [] iTextSharp.text.pdf.PdfReader.ASCIIHexDecode |
( |
byte[] |
inp | ) |
|
|
static |
Decodes a stream that has the ASCIIHexDecode filter.
- Parameters
-
- Returns
- the decoded data
◆ Close()
void iTextSharp.text.pdf.PdfReader.Close |
( |
| ) |
|
◆ ComputeUserPassword()
byte [] iTextSharp.text.pdf.PdfReader.ComputeUserPassword |
( |
| ) |
|
◆ ConsolidateNamedDestinations()
void iTextSharp.text.pdf.PdfReader.ConsolidateNamedDestinations |
( |
| ) |
|
Replaces all the local named links with the actual destinations.
◆ CreateFakeFontSubsets()
int iTextSharp.text.pdf.PdfReader.CreateFakeFontSubsets |
( |
| ) |
|
Finds all the fonts not subset but embedded and marks them as subset.
- Returns
- the number of fonts altered
◆ DecodePredictor()
static byte [] iTextSharp.text.pdf.PdfReader.DecodePredictor |
( |
byte[] |
inp, |
|
|
PdfObject |
dicPar |
|
) |
| |
|
static |
- Parameters
-
- Returns
- a byte array
◆ Dispose()
void iTextSharp.text.pdf.PdfReader.Dispose |
( |
| ) |
|
◆ DumpPerc()
double iTextSharp.text.pdf.PdfReader.DumpPerc |
( |
| ) |
|
- Returns
- the percentage of the cross reference table that has been read
◆ EliminateSharedStreams()
void iTextSharp.text.pdf.PdfReader.EliminateSharedStreams |
( |
| ) |
|
Eliminates shared streams if they exist.
◆ FlateDecode() [1/2]
static byte [] iTextSharp.text.pdf.PdfReader.FlateDecode |
( |
byte[] |
inp | ) |
|
|
static |
Decodes a stream that has the FlateDecode filter.
- Parameters
-
- Returns
- the decoded data
◆ FlateDecode() [2/2]
static byte [] iTextSharp.text.pdf.PdfReader.FlateDecode |
( |
byte[] |
inp, |
|
|
bool |
strict |
|
) |
| |
|
static |
A helper to FlateDecode.
- Parameters
-
in | the input data |
strict | true to read a correct stream. false to try to read a corrupted stream |
- Returns
- the decoded data
◆ GetBoxSize()
Rectangle iTextSharp.text.pdf.PdfReader.GetBoxSize |
( |
int |
index, |
|
|
String |
boxName |
|
) |
| |
Gets the box size. Allowed names are: "crop", "trim", "art", "bleed" and "media".
- Parameters
-
index | the page number. The first page is 1 |
boxName | the box name |
- Returns
- the box rectangle or null
◆ GetCertificationLevel()
int iTextSharp.text.pdf.PdfReader.GetCertificationLevel |
( |
| ) |
|
◆ GetCropBox()
Rectangle iTextSharp.text.pdf.PdfReader.GetCropBox |
( |
int |
index | ) |
|
Gets the crop box without taking rotation into account. This is the value of the /CropBox key. The crop box is the part of the document to be displayed or printed. It usually is the same as the media box but may be smaller. If the page doesn't have a crop box the page size will be returned.
- Parameters
-
index | the page number. The first page is 1 |
- Returns
- the crop box
◆ GetCryptoMode()
int iTextSharp.text.pdf.PdfReader.GetCryptoMode |
( |
| ) |
|
◆ GetJavaScript()
Gets the global document JavaScript.
- Parameters
-
- Exceptions
-
- Returns
- the global document JavaScript
◆ GetLinks()
ArrayList iTextSharp.text.pdf.PdfReader.GetLinks |
( |
int |
page | ) |
|
◆ GetNamedDestination() [1/2]
Hashtable iTextSharp.text.pdf.PdfReader.GetNamedDestination |
( |
| ) |
|
Gets all the named destinations as an Hashtable
. The key is the name and the value is the destinations array.
- Returns
- gets all the named destinations
◆ GetNamedDestination() [2/2]
Hashtable iTextSharp.text.pdf.PdfReader.GetNamedDestination |
( |
bool |
keepNames | ) |
|
Gets all the named destinations as an HashMap
. The key is the name and the value is the destinations array.
- Parameters
-
keepNames | true if you want the keys to be real PdfNames instead of Strings |
- Returns
- gets all the named destinations
- Since
- 2.1.6
◆ GetNamedDestinationFromNames() [1/2]
Hashtable iTextSharp.text.pdf.PdfReader.GetNamedDestinationFromNames |
( |
| ) |
|
Gets the named destinations from the /Dests key in the catalog as an Hashtable
. The key is the name and the value is the destinations array.
- Returns
- gets the named destinations
◆ GetNamedDestinationFromNames() [2/2]
Hashtable iTextSharp.text.pdf.PdfReader.GetNamedDestinationFromNames |
( |
bool |
keepNames | ) |
|
Gets the named destinations from the /Dests key in the catalog as an HashMap
. The key is the name and the value is the destinations array.
- Parameters
-
keepNames | true if you want the keys to be real PdfNames instead of Strings |
- Returns
- gets the named destinations
- Since
- 2.1.6
◆ GetNamedDestinationFromStrings()
Hashtable iTextSharp.text.pdf.PdfReader.GetNamedDestinationFromStrings |
( |
| ) |
|
Gets the named destinations from the /Names key in the catalog as an Hashtable
. The key is the name and the value is the destinations array.
- Returns
- gets the named destinations
◆ GetNormalizedRectangle()
static Rectangle iTextSharp.text.pdf.PdfReader.GetNormalizedRectangle |
( |
PdfArray |
box | ) |
|
|
static |
Normalizes a Rectangle
so that llx and lly are smaller than urx and ury.
- Parameters
-
box | the original rectangle |
- Returns
- a normalized
Rectangle
◆ GetPageContent() [1/2]
byte [] iTextSharp.text.pdf.PdfReader.GetPageContent |
( |
int |
pageNum | ) |
|
Gets the contents of the page.
- Parameters
-
pageNum | the page number. 1 is the first |
- Exceptions
-
- Returns
- the content
◆ GetPageContent() [2/2]
Gets the contents of the page.
- Parameters
-
pageNum | the page number. 1 is the first |
file | the location of the PDF document |
- Exceptions
-
- Returns
- the content
◆ GetPageN()
PdfDictionary iTextSharp.text.pdf.PdfReader.GetPageN |
( |
int |
pageNum | ) |
|
Gets the dictionary that represents a page.
- Parameters
-
pageNum | the page number. 1 is the first |
- Returns
- the page dictionary
◆ GetPageNRelease()
PdfDictionary iTextSharp.text.pdf.PdfReader.GetPageNRelease |
( |
int |
pageNum | ) |
|
- Parameters
-
- Returns
- a Dictionary object
◆ GetPageOrigRef()
Gets the page reference to this page.
- Parameters
-
pageNum | the page number. 1 is the first |
- Returns
- the page reference
◆ GetPageRotation()
int iTextSharp.text.pdf.PdfReader.GetPageRotation |
( |
int |
index | ) |
|
Gets the page rotation. This value can be 0, 90, 180 or 270.
- Parameters
-
index | the page number. The first page is 1 |
- Returns
- the page rotation
◆ GetPageSize() [1/2]
Rectangle iTextSharp.text.pdf.PdfReader.GetPageSize |
( |
int |
index | ) |
|
Gets the page size without taking rotation into account. This is the value of the /MediaBox key.
- Parameters
-
index | the page number. The first page is 1 |
- Returns
- the page size
◆ GetPageSize() [2/2]
Gets the page from a page dictionary
- Parameters
-
- Returns
- the page
◆ GetPageSizeWithRotation() [1/2]
Rectangle iTextSharp.text.pdf.PdfReader.GetPageSizeWithRotation |
( |
int |
index | ) |
|
Gets the page size, taking rotation into account. This is a Rectangle
with the value of the /MediaBox and the /Rotate key.
- Parameters
-
index | the page number. The first page is 1 |
- Returns
- a
Rectangle
◆ GetPageSizeWithRotation() [2/2]
Gets the rotated page from a page dictionary.
- Parameters
-
- Returns
- the rotated page
◆ GetPdfObject() [1/3]
PdfObject iTextSharp.text.pdf.PdfReader.GetPdfObject |
( |
int |
idx | ) |
|
- Parameters
-
- Returns
- aPdfObject
◆ GetPdfObject() [2/3]
Reads a PdfObject
resolving an indirect reference if needed.
- Parameters
-
- Returns
- the resolved
PdfObject
◆ GetPdfObject() [3/3]
◆ GetPdfObjectRelease() [1/3]
PdfObject iTextSharp.text.pdf.PdfReader.GetPdfObjectRelease |
( |
int |
idx | ) |
|
◆ GetPdfObjectRelease() [2/3]
◆ GetPdfObjectRelease() [3/3]
Reads a PdfObject
resolving an indirect reference if needed. If the reader was opened in partial mode the object will be released to save memory.
- Parameters
-
- Returns
- a PdfObject
◆ GetStreamBytes() [1/2]
static byte [] iTextSharp.text.pdf.PdfReader.GetStreamBytes |
( |
PRStream |
stream | ) |
|
|
static |
Get the content from a stream applying the required filters.
- Parameters
-
- Exceptions
-
- Returns
- the stream content
◆ GetStreamBytes() [2/2]
Get the content from a stream applying the required filters.
- Parameters
-
stream | the stream |
file | the location where the stream is |
- Exceptions
-
- Returns
- the stream content
◆ GetStreamBytesRaw() [1/2]
static byte [] iTextSharp.text.pdf.PdfReader.GetStreamBytesRaw |
( |
PRStream |
stream | ) |
|
|
static |
Get the content from a stream as it is without applying any filter.
- Parameters
-
- Exceptions
-
- Returns
- the stream content
◆ GetStreamBytesRaw() [2/2]
Get the content from a stream as it is without applying any filter.
- Parameters
-
stream | the stream |
file | the location where the stream is |
- Exceptions
-
- Returns
- the stream content
◆ Is128Key()
bool iTextSharp.text.pdf.PdfReader.Is128Key |
( |
| ) |
|
Returns true
if the PDF has a 128 bit key encryption.
- Returns
true
if the PDF has a 128 bit key encryption
◆ IsEncrypted()
bool iTextSharp.text.pdf.PdfReader.IsEncrypted |
( |
| ) |
|
Returns true
if the PDF is encrypted.
- Returns
true
if the PDF is encrypted
◆ IsHybridXref()
bool iTextSharp.text.pdf.PdfReader.IsHybridXref |
( |
| ) |
|
Getter for property hybridXref.
- Returns
- Value of property hybridXref.
◆ IsMetadataEncrypted()
bool iTextSharp.text.pdf.PdfReader.IsMetadataEncrypted |
( |
| ) |
|
◆ IsNewXrefType()
bool iTextSharp.text.pdf.PdfReader.IsNewXrefType |
( |
| ) |
|
Getter for property newXrefType.
- Returns
- Value of property newXrefType.
◆ IsRebuilt()
bool iTextSharp.text.pdf.PdfReader.IsRebuilt |
( |
| ) |
|
Checks if the document had errors and was rebuilt.
- Returns
- true if rebuilt.
◆ KillIndirect()
Eliminates the reference to the object freeing the memory used by it and clearing the xref entry.
- Parameters
-
obj | the object. If it's an indirect reference it will be eliminated |
- Returns
- the object or the already erased dereferenced object
◆ LZWDecode()
static byte [] iTextSharp.text.pdf.PdfReader.LZWDecode |
( |
byte[] |
inp | ) |
|
|
static |
Decodes a stream that has the LZWDecode filter.
- Parameters
-
- Returns
- the decoded data
◆ ReleaseLastXrefPartial() [1/2]
void iTextSharp.text.pdf.PdfReader.ReleaseLastXrefPartial |
( |
| ) |
|
◆ ReleaseLastXrefPartial() [2/2]
static void iTextSharp.text.pdf.PdfReader.ReleaseLastXrefPartial |
( |
PdfObject |
obj | ) |
|
|
static |
◆ ReleasePage()
void iTextSharp.text.pdf.PdfReader.ReleasePage |
( |
int |
pageNum | ) |
|
◆ RemoveAnnotations()
void iTextSharp.text.pdf.PdfReader.RemoveAnnotations |
( |
| ) |
|
Removes all the annotations and fields from the document.
◆ RemoveFields()
void iTextSharp.text.pdf.PdfReader.RemoveFields |
( |
| ) |
|
Removes all the fields from the document.
◆ RemoveUnusedObjects()
int iTextSharp.text.pdf.PdfReader.RemoveUnusedObjects |
( |
| ) |
|
Removes all the unreachable objects.
- Returns
- the number of indirect objects removed
◆ RemoveUsageRights()
void iTextSharp.text.pdf.PdfReader.RemoveUsageRights |
( |
| ) |
|
Removes any usage rights that this PDF may have. Only Adobe can grant usage rights and any PDF modification with iText will invalidate them. Invalidated usage rights may confuse Acrobat and it's advisabe to remove them altogether.
◆ ResetLastXrefPartial()
void iTextSharp.text.pdf.PdfReader.ResetLastXrefPartial |
( |
| ) |
|
◆ ResetReleasePage()
void iTextSharp.text.pdf.PdfReader.ResetReleasePage |
( |
| ) |
|
◆ SelectPages() [1/2]
void iTextSharp.text.pdf.PdfReader.SelectPages |
( |
ArrayList |
pagesToKeep | ) |
|
Selects the pages to keep in the document. The pages are described as a List
of Integer
. The page ordering can be changed but no page repetitions are allowed. Note that it may be very slow in partial mode.
- Parameters
-
pagesToKeep | the pages to keep in the document |
◆ SelectPages() [2/2]
void iTextSharp.text.pdf.PdfReader.SelectPages |
( |
String |
ranges | ) |
|
Selects the pages to keep in the document. The pages are described as ranges. The page ordering can be changed but no page repetitions are allowed. Note that it may be very slow in partial mode.
- Parameters
-
ranges | the comma separated ranges as described in SequenceList |
◆ SetPageContent() [1/2]
void iTextSharp.text.pdf.PdfReader.SetPageContent |
( |
int |
pageNum, |
|
|
byte[] |
content |
|
) |
| |
Sets the contents of the page.
- Parameters
-
content | the new page content |
pageNum | the page number. 1 is the first |
- Exceptions
-
◆ SetPageContent() [2/2]
void iTextSharp.text.pdf.PdfReader.SetPageContent |
( |
int |
pageNum, |
|
|
byte[] |
content, |
|
|
int |
compressionLevel |
|
) |
| |
Sets the contents of the page.
- Parameters
-
content | the new page content |
pageNum | the page number. 1 is the first |
- Since
- 2.1.3 (the method already existed without param compressionLevel)
◆ ShuffleSubsetNames()
int iTextSharp.text.pdf.PdfReader.ShuffleSubsetNames |
( |
| ) |
|
Finds all the font subsets and changes the prefixes to some random values.
- Returns
- the number of font subsets altered
◆ certificate
◆ certificateKey
◆ AcroFields
AcroFields iTextSharp.text.pdf.PdfReader.AcroFields |
|
get |
◆ AcroForm
Returns the document's acroform, if it has one.
- Returns
- the document's acroform
◆ Appendable
bool iTextSharp.text.pdf.PdfReader.Appendable |
|
getset |
◆ Catalog
Returns the document's catalog. This dictionary is not a copy, any changes will be reflected in the catalog.
- Returns
- the document's catalog
◆ EofPos
int iTextSharp.text.pdf.PdfReader.EofPos |
|
get |
Gets the byte address of the %EOF marker.
- Returns
- the byte address of the %EOF marker
◆ FileLength
int iTextSharp.text.pdf.PdfReader.FileLength |
|
get |
Getter for property fileLength.
- Returns
- Value of property fileLength.
◆ Info
Dictionary<string, string> iTextSharp.text.pdf.PdfReader.Info |
|
get |
Returns the content of the document information dictionary as a Hashtable
of String
.
- Returns
- content of the document information dictionary
◆ IsOpenedWithFullPermissions
bool iTextSharp.text.pdf.PdfReader.IsOpenedWithFullPermissions |
|
get |
Checks if the document was opened with the owner password so that the end application can decide what level of access restrictions to apply. If the document is not encrypted it will return true
.
- Returns
true
if the document was opened with the owner password or if it's not encrypted, false
if the document was opened with the user password
◆ JavaScript
String iTextSharp.text.pdf.PdfReader.JavaScript |
|
get |
Gets the global document JavaScript.
- Exceptions
-
- Returns
- the global document JavaScript
◆ LastXref
int iTextSharp.text.pdf.PdfReader.LastXref |
|
get |
Gets the byte address of the last xref table.
- Returns
- the byte address of the last xref table
◆ Metadata
byte [] iTextSharp.text.pdf.PdfReader.Metadata |
|
get |
Gets the XML metadata.
- Exceptions
-
- Returns
- the XML metadata
◆ NumberOfPages
int iTextSharp.text.pdf.PdfReader.NumberOfPages |
|
get |
Gets the number of pages in the document.
- Returns
- the number of pages in the document
◆ PdfVersion
char iTextSharp.text.pdf.PdfReader.PdfVersion |
|
get |
Gets the PDF version. Only the last version char is returned. For example version 1.4 is returned as '4'.
- Returns
- the PDF version
◆ Permissions
int iTextSharp.text.pdf.PdfReader.Permissions |
|
get |
◆ SafeFile
Gets a new file instance of the original PDF document.
- Returns
- a new file instance of the original PDF document
◆ SimpleViewerPreferences
virtual int iTextSharp.text.pdf.PdfReader.SimpleViewerPreferences |
|
get |
Returns a bitset representing the PageMode and PageLayout viewer preferences. Doesn't return any information about the ViewerPreferences dictionary.
- Returns
- an int that contains the Viewer Preferences.
◆ Tampered
bool iTextSharp.text.pdf.PdfReader.Tampered |
|
getset |
Sets the tampered state. A tampered PdfReader cannot be reused in PdfStamper.
- Parameters
-
tampered | the tampered state |
◆ Trailer
Gets the trailer dictionary
- Returns
- the trailer dictionary
◆ ViewerPreferences
virtual int iTextSharp.text.pdf.PdfReader.ViewerPreferences |
|
set |
Sets the viewer preferences as the sum of several constants.
- Parameters
-
preferences | the viewer preferences |
- See also
- PdfViewerPreferences::setViewerPreferences
◆ XrefSize
int iTextSharp.text.pdf.PdfReader.XrefSize |
|
get |
Gets the number of xref objects.
- Returns
- the number of xref objects
The documentation for this class was generated from the following file: