com.aspose.html.rendering

Class CssOptions

  • java.lang.Object
    • com.aspose.html.rendering.CssOptions
  • All Implemented Interfaces:
    java.lang.Cloneable


    public class CssOptions
    extends java.lang.Object
    implements java.lang.Cloneable

    Represents css rendering options.

    • Constructor Summary

      Constructors 
      Constructor and Description
      CssOptions()
      Initializes a new instance of the CssOptions class.
    • Constructor Detail

      • CssOptions

        public CssOptions()

        Initializes a new instance of the CssOptions class.

    • Method Detail

      • getMediaType

        public int getMediaType()

        Gets or sets MediaType which will be used for media queries resolution during rendering. Default value is Print.

      • setMediaType

        public void setMediaType(int value)

        Gets or sets MediaType which will be used for media queries resolution during rendering. Default value is Print.

      • memberwiseClone

        protected java.lang.Object memberwiseClone()