Packages

 

com.aspose.cad.imageoptions

Class VectorRasterizationOptions

  • Direct Known Subclasses:
    CadRasterizationOptions


    public abstract class VectorRasterizationOptions
    extends Object

    The vector rasterization options.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.aspose.cad.Color getBackgroundColor()
      Gets or sets a background color.
      float getBorderX()
      Gets or sets the border X.
      float getBorderY()
      Gets or sets the border Y.
      boolean getContentAsBitmap()
      Gets or sets a value indicating whether content of a drawing is represented as image inside Pdf.
      com.aspose.cad.Color getDrawColor()
      Gets or sets a foreground color.
      com.aspose.cad.imageoptions.GraphicsOptions getGraphicsOptions()
      Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
      com.aspose.ms.System.Collections.Generic.Dictionary<String,com.aspose.cad.SizeF> getLayoutPageSizes()
      Gets or sets the layout page sizes.
      float getPageHeight()
      Gets or sets the page height.
      com.aspose.cad.SizeF getPageSize()
      Gets or sets the page size.
      float getPageWidth()
      Gets or sets the page width.
      com.aspose.cad.PointF getRelativePosition()
      Position of top left corner of exported region relative to whole document's image, in relative units - 0,0 is top left, 1,1 is bottom of document's image.
      float getRelativeScale()
      Scale of exported region relative to whole document's image.
      int getUnitType()
      Gets or sets unit type of export result.
      void setBackgroundColor(com.aspose.cad.Color value)
      Gets or sets a background color.
      void setBorderX(float value)
      Gets or sets the border X.
      void setBorderY(float value)
      Gets or sets the border Y.
      void setContentAsBitmap(boolean value)
      Gets or sets a value indicating whether content of a drawing is represented as image inside Pdf.
      void setDrawColor(com.aspose.cad.Color value)
      Gets or sets a foreground color.
      void setGraphicsOptions(com.aspose.cad.imageoptions.GraphicsOptions value)
      Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
      void setLayoutPageSizes(com.aspose.ms.System.Collections.Generic.Dictionary<String,com.aspose.cad.SizeF> value)
      Gets or sets the layout page sizes.
      void setPageHeight(float value)
      Gets or sets the page height.
      void setPageSize(com.aspose.cad.SizeF value)
      Gets or sets the page size.
      void setPageWidth(float value)
      Gets or sets the page width.
      void setRelativePosition(com.aspose.cad.PointF value)
      Position of top left corner of exported region relative to whole document's image, in relative units - 0,0 is top left, 1,1 is bottom of document's image.
      void setRelativeScale(float value)
      Scale of exported region relative to whole document's image.
      void setUnitType(int value)
      Gets or sets unit type of export result.
    • 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.
      • getPageHeight

        public float getPageHeight()

        Gets or sets the page height.

      • setPageHeight

        public void setPageHeight(float value)

        Gets or sets the page height.

      • getPageSize

        public com.aspose.cad.SizeF getPageSize()

        Gets or sets the page size.

      • setPageSize

        public void setPageSize(com.aspose.cad.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 com.aspose.cad.Color getBackgroundColor()

        Gets or sets a background color.

      • setBackgroundColor

        public void setBackgroundColor(com.aspose.cad.Color value)

        Gets or sets a background color.

      • getDrawColor

        public com.aspose.cad.Color getDrawColor()

        Gets or sets a foreground color.

      • setDrawColor

        public void setDrawColor(com.aspose.cad.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 com.aspose.cad.imageoptions.GraphicsOptions getGraphicsOptions()

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

      • setGraphicsOptions

        public void setGraphicsOptions(com.aspose.cad.imageoptions.GraphicsOptions value)

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

      • getLayoutPageSizes

        public final com.aspose.ms.System.Collections.Generic.Dictionary<String,com.aspose.cad.SizeF> getLayoutPageSizes()

        Gets or sets the layout page sizes.

        Returns:
        The layout page sizes.
      • setLayoutPageSizes

        public final void setLayoutPageSizes(com.aspose.ms.System.Collections.Generic.Dictionary<String,com.aspose.cad.SizeF> value)

        Gets or sets the layout page sizes.

        Parameters:
        value - The layout page sizes.
      • getRelativeScale

        public final float getRelativeScale()

        Scale of exported region relative to whole document's image. Calculated as ratio of corresponding dimension of exported region to larger dimension of exported document.

      • setRelativeScale

        public final void setRelativeScale(float value)

        Scale of exported region relative to whole document's image. Calculated as ratio of corresponding dimension of exported region to larger dimension of exported document.

      • getRelativePosition

        public final com.aspose.cad.PointF getRelativePosition()

        Position of top left corner of exported region relative to whole document's image, in relative units - 0,0 is top left, 1,1 is bottom of document's image.

      • setRelativePosition

        public final void setRelativePosition(com.aspose.cad.PointF value)

        Position of top left corner of exported region relative to whole document's image, in relative units - 0,0 is top left, 1,1 is bottom of document's image.