com.aspose.html.services

Interface IUserAgentService

  • All Superinterfaces:
    com.aspose.html.internal.ms.System.IDisposable, IService


    public interface IUserAgentService
    extends IService

    An interface that is described a user agent environment.

    See Also:
    IService
    • Method Detail

      • getLanguage

        String getLanguage()

        The Language(getLanguage/setLanguage(String)) 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.

        Value: The user agent language.
        See Also:
        http://www.ietf.org/rfc/bcp/bcp47.txt
      • setLanguage

        void setLanguage(String value)

        The Language(getLanguage/setLanguage(String)) 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.

        Value: The user agent language.
        See Also:
        http://www.ietf.org/rfc/bcp/bcp47.txt
      • getUserStyleSheet

        String getUserStyleSheet()

        Allows to specify style information for a particular document

      • setUserStyleSheet

        void setUserStyleSheet(String value)

        Allows to specify style information for a particular document

      • getCharSet

        String getCharSet()

        Gets or sets the primary character-set for a document.

        Value: The character set.
      • setCharSet

        void setCharSet(String value)

        Gets or sets the primary character-set for a document.

        Value: The character set.
      • getCSSEngineMode

        int getCSSEngineMode()

        Gets or sets mode in which CSS engine works.

        Value: The engine mode.
      • setCSSEngineMode

        void setCSSEngineMode(int value)

        Gets or sets mode in which CSS engine works.

        Value: The engine mode.