Class ParseOptions
Options for Parse(Stream, ParseOptions).
public sealed class ParseOptions : Options
- Inheritance
-
ParseOptions
- Inherited Members
Constructors
ParseOptions()
Sets the options to the default values.
public ParseOptions()
Fields
ACCEPT_LATIN_1
If the input is not unicode, try to parse it as ISO-8859-1.
public const int ACCEPT_LATIN_1 = 16
Field Value
FIX_CONTROL_CHARS
Convert ASCII control characters 0x01 - 0x1F (except tab, cr, and lf) to spaces.
public const int FIX_CONTROL_CHARS = 8
Field Value
OMIT_NORMALIZATION
Do not carry run the XMPNormalizer on a packet, leave it as it is.
public const int OMIT_NORMALIZATION = 32
Field Value
REQUIRE_XMP_META
Require a surrounding "x:xmpmeta" element in the xml-document.
public const int REQUIRE_XMP_META = 1
Field Value
STRICT_ALIASING
Do not reconcile alias differences, throw an exception instead.
public const int STRICT_ALIASING = 4
Field Value
Methods
DefineOptionName(int)
protected override string DefineOptionName(int option)
Parameters
option
int
Returns
- See Also
GetAcceptLatin1()
public bool GetAcceptLatin1()
Returns
- bool
Returns the strictAliasing.
GetFixControlChars()
public bool GetFixControlChars()
Returns
- bool
Returns the strictAliasing.
GetOmitNormalization()
public bool GetOmitNormalization()
Returns
- bool
Returns the option "omit normalization".
GetRequireXMPMeta()
public bool GetRequireXMPMeta()
Returns
- bool
Returns the requireXMPMeta.
GetStrictAliasing()
public bool GetStrictAliasing()
Returns
- bool
Returns the strictAliasing.
GetValidOptions()
protected override int GetValidOptions()
Returns
- See Also
SetAcceptLatin1(bool)
public ParseOptions SetAcceptLatin1(bool value)
Parameters
value
boolthe value to set
Returns
- ParseOptions
Returns the instance to call more set-methods.
SetFixControlChars(bool)
public ParseOptions SetFixControlChars(bool value)
Parameters
value
boolthe value to set
Returns
- ParseOptions
Returns the instance to call more set-methods.
SetOmitNormalization(bool)
public ParseOptions SetOmitNormalization(bool value)
Parameters
value
boolthe value to set
Returns
- ParseOptions
Returns the instance to call more set-methods.
SetRequireXMPMeta(bool)
public ParseOptions SetRequireXMPMeta(bool value)
Parameters
value
boolthe value to set
Returns
- ParseOptions
Returns the instance to call more set-methods.
SetStrictAliasing(bool)
public ParseOptions SetStrictAliasing(bool value)
Parameters
value
boolthe value to set
Returns
- ParseOptions
Returns the instance to call more set-methods.