LoadOptions Class
Represents a base class for loading options of various file formats.
- Inheritance:
- System.ObjectLoadOptions
- Derived
Remarks
To preserve unsupported file format features, set PreserveUnsupportedFeatures to true. For more information, see preservation.
Properties
DocDefault
Gets the default loading options for Microsoft Word 97-2003 (DOC) format.
public static DocLoadOptions DocDefault { get; }Public Shared ReadOnly Property DocDefault As DocLoadOptionsProperty Value
The default loading options for Microsoft Word 97-2003 (DOC) format.
Remarks
This property always returns a new instance of DocLoadOptions class initialized with default constructor.
DocxDefault
Gets the default loading options for Microsoft Word (DOCX) format.
public static DocxLoadOptions DocxDefault { get; }Public Shared ReadOnly Property DocxDefault As DocxLoadOptionsProperty Value
The default loading options for Microsoft Word (DOCX) format.
Remarks
This property always returns a new instance of DocxLoadOptions class initialized with default constructor.
HtmlDefault
Gets the default loading options for HyperText Markup Language (HTML) format.
public static HtmlLoadOptions HtmlDefault { get; }Public Shared ReadOnly Property HtmlDefault As HtmlLoadOptionsProperty Value
The default loading options for HyperText Markup Language (HTML) format.
Remarks
This property always returns a new instance of HtmlLoadOptions class initialized with default constructor.
OdtDefault
Gets the default loading options for Open Document (ODT) format.
public static OdtLoadOptions OdtDefault { get; }Public Shared ReadOnly Property OdtDefault As OdtLoadOptionsProperty Value
The default loading options for Open Document (ODT) format.
Remarks
This property always returns a new instance of OdtLoadOptions class initialized with default constructor.
PdfDefault
Gets the default loading options for Portable Document Format (PDF).
public static PdfLoadOptions PdfDefault { get; }Public Shared ReadOnly Property PdfDefault As PdfLoadOptionsProperty Value
The default loading options for Portable Document Format (PDF).
Remarks
This property always returns a new instance of PdfLoadOptions class initialized with default constructor.
PreserveUnsupportedFeatures
Gets or sets a value indicating whether to preserve file format features that are not directly supported through GemBox.Document object model.
public bool PreserveUnsupportedFeatures { get; set; }Public Property PreserveUnsupportedFeatures As BooleanProperty Value
- System.Boolean
true to preserve file format features that are not directly supported through GemBox.Document object model; otherwise, false.
Remarks
Default value is set to true.
For more information, see preservation.RtfDefault
Gets the default loading options for Rich Text (RTF) format.
public static RtfLoadOptions RtfDefault { get; }Public Shared ReadOnly Property RtfDefault As RtfLoadOptionsProperty Value
The default loading options for Rich Text (RTF) format.
Remarks
This property always returns a new instance of RtfLoadOptions class initialized with default constructor.
TxtDefault
Gets the default loading options for Plain Text (TXT) format.
public static TxtLoadOptions TxtDefault { get; }Public Shared ReadOnly Property TxtDefault As TxtLoadOptionsProperty Value
The default loading options for Plain Text (TXT) format.
Remarks
This property always returns a new instance of TxtLoadOptions class initialized with default constructor.
XmlDefault
Gets the default loading options for XML file format.
public static XmlLoadOptions XmlDefault { get; }Public Shared ReadOnly Property XmlDefault As XmlLoadOptionsProperty Value
The default loading options for XML file format.
Remarks
This property always returns a new instance of XmlLoadOptions class initialized with default constructor.