RtfLoadOptions

RtfLoadOptions

Overview

RtfLoadOptions is a class in Aspose.Words FOSS for .NET. Inherits from: LoadOptions.

Allows to specify additional options when loading Rtf document into a Document object.

This class provides 3 methods for working with RtfLoadOptions objects in .NET programs. Available methods include: Equals, LoadOptions, RtfLoadOptions. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: BaseUri, ConvertMetafilesToPng, ConvertShapeToOfficeMath, Encoding, FontSettings, IgnoreOleData, and 13 more.

Properties

NameTypeAccessDescription
RecognizeUtf8TextboolRead/WriteWhen set to true, CharsetDetector will try to detect UTF8 characters, they will be preserved during import.
LoadFormatLoadFormatRead/WriteSpecifies the format of the document to be loaded.
PasswordstringRead/WriteGets or sets the password for opening an encrypted document.
BaseUristringRead/WriteGets or sets the string that will be used to resolve relative URIs found in the document into absolute URIs when required.
EncodingEncodingRead/WriteGets or sets the encoding that will be used to load an HTML, TXT, or CHM document if the encoding is not specified inside the document.
ResourceLoadingCallbackIResourceLoadingCallbackRead/WriteAllows to control how external resources (images, style sheets) are loaded when a document is imported from HTML, MHTML.
WarningCallbackIWarningCallbackRead/WriteCalled during a load operation, when an issue is detected that might result in data or formatting fidelity loss.
ProgressCallbackIDocumentLoadingCallbackRead/WriteCalled during loading a document and accepts data about loading progress.
PreserveIncludePictureFieldboolRead/WriteGets or sets whether to preserve the INCLUDEPICTURE field when reading Microsoft Word formats.
ConvertShapeToOfficeMathboolRead/WriteGets or sets whether to convert shapes with EquationXML to Office Math objects.
FontSettingsFontSettingsRead/WriteAllows to specify document font settings.
TempFolderstringRead/WriteAllows to use temporary files when reading document.
ConvertMetafilesToPngboolRead/WriteGets or sets whether to convert metafile(Wmf or Emf) images to Png image format.
MswVersionMsWordVersionRead/WriteAllows to specify that the document loading process should match a specific MS Word version.
UpdateDirtyFieldsboolRead/WriteSpecifies whether to update the fields with the dirty attribute.
IgnoreOleDataboolRead/WriteSpecifies whether to ignore the OLE data.
UseSystemLcidboolRead/WriteGets or sets whether to use LCID value obtained from Windows registry to determine page setup default margins.
LanguagePreferencesLanguagePreferencesReadGets language preferences that will be used when document is loading.
RecoveryModeDocumentRecoveryModeRead/WriteDefines how the document should be handled if errors occur during loading.

Methods

SignatureDescription
RtfLoadOptions()Initializes a new instance of this class with default values.
LoadOptions()Initializes a new instance of this class with default values.
Equals(obj: object)Determines whether the specified object is equal in value to the current object.

See Also