Packages

 

com.aspose.cad.imageoptions

Class VectorRasterizationOptions

    • Constructor Detail

      • VectorRasterizationOptions

        public VectorRasterizationOptions()
    • Method Detail

      • getBorderX

        public float getBorderX()

        Gets or sets the border X.

        Returns:
        The border X.
      • setBorderX

        public void setBorderX(float value)

        Gets or sets the border X.

        Parameters:
        value - The border X.
      • getBorderY

        public float getBorderY()

        Gets or sets the border Y.

        Returns:
        The border Y.
      • setBorderY

        public void setBorderY(float value)

        Gets or sets the border Y.

        Parameters:
        value - The border Y.
      • getCenterDrawing

        public boolean getCenterDrawing()

        Gets or sets a value indicating whether center drawing.

      • setCenterDrawing

        public void setCenterDrawing(boolean value)

        Gets or sets a value indicating whether center drawing.

      • getPageHeight

        public float getPageHeight()

        Gets or sets the page height.

      • setPageHeight

        public void setPageHeight(float value)

        Gets or sets the page height.

      • getPageSize

        public SizeF getPageSize()

        Gets or sets the page size.

      • setPageSize

        public void setPageSize(SizeF value)

        Gets or sets the page size.

      • getPageWidth

        public float getPageWidth()

        Gets or sets the page width.

      • setPageWidth

        public void setPageWidth(float value)

        Gets or sets the page width.

      • getBackgroundColor

        public Color getBackgroundColor()

        Gets or sets a background color.

      • setBackgroundColor

        public void setBackgroundColor(Color value)

        Gets or sets a background color.

      • getDrawColor

        public Color getDrawColor()

        Gets or sets a foreground color.

      • setDrawColor

        public void setDrawColor(Color value)

        Gets or sets a foreground color.

      • getUnitType

        public int getUnitType()

        Gets or sets unit type of export result.

      • setUnitType

        public void setUnitType(int value)

        Gets or sets unit type of export result.

      • getContentAsBitmap

        public boolean getContentAsBitmap()

        Gets or sets a value indicating whether content of a drawing is represented as image inside Pdf. Applicable only for CAD to Pdf export. Default is false.

      • setContentAsBitmap

        public void setContentAsBitmap(boolean value)

        Gets or sets a value indicating whether content of a drawing is represented as image inside Pdf. Applicable only for CAD to Pdf export. Default is false.

      • getGraphicsOptions

        public GraphicsOptions getGraphicsOptions()

        Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).

      • setGraphicsOptions

        public void setGraphicsOptions(GraphicsOptions value)

        Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).