Back to Devexpress

HtmlDocumentImporterOptions Members

officefileapi-devexpress-dot-xtrarichedit-dot-import-dot-htmldocumentimporteroptions-dot-underscore-members.md

latest7.2 KB
Original Source

HtmlDocumentImporterOptions Members

Contains options used for loading (importing) the HTML document.

Constructors

NameDescription
HtmlDocumentImporterOptions()Initializes a new instance of the HtmlDocumentImporterOptions class with the default settings.

Properties

NameDescription
AsyncImageLoadingGets or sets whether images are loaded synchronously or asynchronously when importing an HTML document.
AutoDetectEncodingGets or sets whether to enable the auto-detection of the loaded text encoding.
EncodingGets or sets the encoding used to interpret characters in the document.
FontScalingDpiValueGets or sets the DPI value that will be used to scale fonts on high DPI settings.
IgnoreFloatPropertySpecifies whether or not to ignore the “float” setting of HTML elements in the imported document.
IgnoreMediaQueriesGets or sets whether to ignore media rules on HTML import.
IgnoreMetaCharsetGets or sets whether the character encoding specified in the META element should be ignored.
ImageScalingDpiGets or sets the DPI value used to scale images on high DPI settings.
ReplaceSpaceWithNonBreakingSpaceInsidePreSpecifies whether or not to replace all white space characters inside the “pre” tag with non-breaking spaces.
SourceUriGets or sets the base URI for the external content of the document. Inherited from DocumentImporterOptions.
UpdateFieldOverrides the corresponding property of the base class to hide it. Has no effect for HTML import.

Methods

NameDescription
Assign(BaseOptions)Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
CopyFrom(IImporterOptions)Copies the appropriate properties of the specified object into the current instance of the HtmlDocumentImporterOptions class.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all notification options to their default values. Inherited from RichEditNotificationOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

NameDescription
ChangedOccurs when the options are modified. Inherited from RichEditNotificationOptions.

See Also

HtmlDocumentImporterOptions Class

DevExpress.XtraRichEdit.Import Namespace