IUserAgentService class

IUserAgentService class

An interface that is described a user agent environment.

The IUserAgentService type exposes the following members:

Properties

PropertyDescription
languageThe 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 () language tag, or the empty string. Setting the attribute to the empty string indicates that the primary language is unknown.
user_style_sheetAllows to specify style information for a particular document
char_setGets or sets the primary character-set for a document.
css_engine_modeGets or sets mode in which CSS engine works.
fonts_settingsGets a FontsSettings object which is used for configuration of fonts handling.
show_image_placeholdersImages 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 IUserAgentService.show_image_placeholders specifies whether to display the fallback image (default is true)

See Also