Interface IUserAgentService
Namespace: Aspose.Html.Services
Assembly: Aspose.HTML.dll (25.2.0)
An interface that is described a user agent environment.
[ComVisible(true)]
public interface IUserAgentService
Properties
CSSEngineMode
Gets or sets mode in which CSS engine works.
CSSEngineMode CSSEngineMode { get; set; }
Property Value
CharSet
Gets or sets the primary character-set for a document.
string CharSet { get; set; }
Property Value
FontsSettings
Gets a Aspose.Html.FontsSettings object which is used for configuration of fonts handling.
FontsSettings FontsSettings { get; }
Property Value
Language
The Aspose.Html.Services.IUserAgentService.Language specifies the primary language for the element’s contents and for any of the element’s attributes that contain text. Its value must be a valid BCP 47 (http://www.ietf.org/rfc/bcp/bcp47.txt) language tag, or the empty string. Setting the attribute to the empty string indicates that the primary language is unknown.
string Language { get; set; }
Property Value
ShowImagePlaceholders
Images can have fallback content: content that should be used when an external resource cannot be used (for example, because it is in an unsupported format). The property Aspose.Html.Services.IUserAgentService.ShowImagePlaceholders specifies whether to display the fallback image (default is true)
bool ShowImagePlaceholders { get; set; }
Property Value
UserStyleSheet
Allows to specify style information for a particular document
string UserStyleSheet { get; set; }