Class PdfReader.StrictnessLevel
Enumeration representing the strictness level for reading.
public sealed class PdfReader.StrictnessLevel
- Inheritance
-
PdfReader.StrictnessLevel
- Inherited Members
Fields
CONSERVATIVE
The reading strictness level at which iText fails (throws an exception) in case of contradiction with PDF specification, but still recovers from mild parsing errors and ambiguities.
public static readonly PdfReader.StrictnessLevel CONSERVATIVE
Field Value
LENIENT
The reading strictness level at which iText tries to recover from parsing errors if possible.
public static readonly PdfReader.StrictnessLevel LENIENT
Field Value
Methods
IsStricter(StrictnessLevel)
Checks whether the current instance represents more strict reading level than the provided one.
public bool IsStricter(PdfReader.StrictnessLevel compareWith)
Parameters
compareWith
PdfReader.StrictnessLevelthe PdfReader.StrictnessLevel to compare with
Returns
Remarks
Checks whether the current instance represents more strict reading level than the provided one. Note that the null is less strict than any other value.