Packages

 

com.aspose.cad.imageoptions

Class CadRasterizationOptions

  • All Implemented Interfaces:
    com.aspose.cad_internal.imageoptions.IRasterRenderingOptions


    public class CadRasterizationOptions
    extends VectorRasterizationOptions
    implements com.aspose.cad_internal.imageoptions.IRasterRenderingOptions

    The Cad rasterization options.

    • Constructor Detail

      • CadRasterizationOptions

        public CadRasterizationOptions()
    • Method Detail

      • getZoom

        public float getZoom()

        Gets or sets zoom factor. Allows to zoom drawing relatively to canvas size. Value of 1 corresponds to exact fit, value below 1 allows to preserve margins, value above 1 allows to scale drawing up.

      • setZoom

        public void setZoom(float value)

        Gets or sets zoom factor. Allows to zoom drawing relatively to canvas size. Value of 1 corresponds to exact fit, value below 1 allows to preserve margins, value above 1 allows to scale drawing up.

      • getPenOptions

        public PenOptions getPenOptions()

        Gets or sets the pen options.

        Returns:
        The pen options.
      • setPenOptions

        public void setPenOptions(PenOptions value)

        Gets or sets the pen options.

        Parameters:
        value - The pen options.
      • getObserverPoint

        public ObserverPoint getObserverPoint()

        Gets or sets the observer point.

        Returns:
        The observer point.
      • setObserverPoint

        public void setObserverPoint(ObserverPoint value)

        Gets or sets the observer point.

        Parameters:
        value - The observer point.
      • getTypeOfEntities

        public int getTypeOfEntities()

        Gets or sets type of entities to render.

      • setTypeOfEntities

        public void setTypeOfEntities(int value)

        Gets or sets type of entities to render.

      • getAutomaticLayoutsScaling

        public boolean getAutomaticLayoutsScaling()

        Gets or sets a value indicating whether layouts should be automatically scaled.

      • setAutomaticLayoutsScaling

        public void setAutomaticLayoutsScaling(boolean value)

        Gets or sets a value indicating whether layouts should be automatically scaled.

      • getLayers

        public List<String> getLayers()

        Gets or sets layers of DXF file to export.

      • getLayers_internalized

        public com.aspose.ms.System.Collections.Generic.List<String> getLayers_internalized()
      • setLayers

        public void setLayers(List<String> value)

        Gets or sets layers of DXF file to export.

      • setLayers_internalized

        public void setLayers_internalized(com.aspose.ms.System.Collections.Generic.List<String> value)
      • getLayouts

        public String[] getLayouts()

        Gets or sets the layoutName.

        Specified by:
        getLayouts in interface com.aspose.cad_internal.imageoptions.IRasterRenderingOptions
        Returns:
        The specific layout name or null for use Model. Model is also a layout.
      • setLayouts

        public void setLayouts(String[] value)

        Gets or sets the layoutName.

        Specified by:
        setLayouts in interface com.aspose.cad_internal.imageoptions.IRasterRenderingOptions
        Parameters:
        value - The specific layout name or null for use Model. Model is also a layout.
      • getDrawType

        public int getDrawType()

        Gets or sets type of drawing.

      • setDrawType

        public void setDrawType(int value)

        Gets or sets type of drawing.

      • getScaleMethod_internalized

        public int getScaleMethod_internalized()
      • setScaleMethod_internalized

        public void setScaleMethod_internalized(int value)

        Gets or sets scale method for automatic adjust of image size.

      • isNoScaling

        public boolean isNoScaling()

        Gets or sets no scaling during export.

      • setNoScaling

        public void setNoScaling(boolean value)

        Gets or sets no scaling during export.

      • getPdfProductLocation

        public String getPdfProductLocation()

        The PDF product location

      • setPdfProductLocation

        public void setPdfProductLocation(String value)

        The PDF product location