Packages

 

com.aspose.cad.imageoptions

Class VectorRasterizationOptions

  • Direct Known Subclasses:
    CadRasterizationOptions


    public abstract class VectorRasterizationOptions
    extends Object

    The vector rasterization options.

    • Constructor Detail

      • VectorRasterizationOptions

        public VectorRasterizationOptions()
    • Method Detail

      • getBorderX

        public float getBorderX()

        Gets the border X.

        Returns:
        The border X.
      • setBorderX

        public void setBorderX(float value)

        Sets the border X.

        Parameters:
        value - The border X.
      • getBorderY

        public float getBorderY()

        Gets the border Y.

        Returns:
        The border Y.
      • setBorderY

        public void setBorderY(float value)

        Sets the border Y.

        Parameters:
        value - The border Y.
      • getCenterDrawing

        public boolean getCenterDrawing()

        Gets a value indicating whether center drawing.

        Returns:
        A value indicating whether center drawing.
      • setCenterDrawing

        public void setCenterDrawing(boolean value)

        Sets a value indicating whether center drawing.

        Parameters:
        value - A value indicating whether center drawing.
      • getPageHeight

        public float getPageHeight()

        Gets the page height.

        Returns:
        The page height.
      • setPageHeight

        public void setPageHeight(float value)

        Sets the page height.

        Parameters:
        value - The page height.
      • getPageSize

        public SizeF getPageSize()

        Gets the page size.

        Returns:
        The page size.
      • setPageSize

        public void setPageSize(SizeF value)

        Sets the page size.

        Parameters:
        value - The page size.
      • getPageWidth

        public float getPageWidth()

        Gets the page width.

        Returns:
        The page width.
      • setPageWidth

        public void setPageWidth(float value)

        Sets the page width.

        Parameters:
        value - The page width.
      • getBackgroundColor

        public Color getBackgroundColor()

        Gets a background color.

        Returns:
        A background color.
      • setBackgroundColor

        public void setBackgroundColor(Color value)

        Sets a background color.

        Parameters:
        value - A background color.
      • getDrawColor

        public Color getDrawColor()

        Gets a foreground color.

        Returns:
        A foreground color.
      • setDrawColor

        public void setDrawColor(Color value)

        Sets a foreground color.

        Parameters:
        value - A foreground color.
      • getUnitType

        public int getUnitType()

        Gets unit type of export result.

        Returns:
        The unit type of export result.
      • setUnitType

        public void setUnitType(int value)

        Sets unit type of export result.

        Parameters:
        value - The unit type of export result.
      • getContentAsBitmap

        public boolean getContentAsBitmap()

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

        Returns:
        True if content of a drawing is represented as image inside Pdf.
      • setContentAsBitmap

        public void setContentAsBitmap(boolean value)

        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.

        Parameters:
        value - True if content of a drawing is represented as image inside Pdf.

      • getGraphicsOptions

        public GraphicsOptions getGraphicsOptions()

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

        Returns:
        Options to render bitmap inside pdf.
      • setGraphicsOptions

        public void setGraphicsOptions(GraphicsOptions value)

        Sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).

        Parameters:
        value - Options to render bitmap inside pdf (if ContentAsBitmap is set to true).