public class CadRasterizationOptions extends VectorRasterizationOptions
The Cad rasterization options.
Modifier and Type | Field and Description |
---|---|
CadRenderHandler |
RenderResult
Render result.
|
Constructor and Description |
---|
CadRasterizationOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAutomaticLayoutsScaling()
Gets or sets a value indicating whether layouts should be automatically scaled.
|
boolean |
getContentAsBitmap()
Gets or sets a value indicating whether content of a drawing is represented as image inside Pdf.
|
int |
getDrawType()
Gets or sets type of drawing.
|
GraphicsOptions |
getGraphicsOptions()
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
|
List<String> |
getLayers()
Gets or sets layers of DXF file to export.
|
String[] |
getLayouts()
Gets or sets the layoutName.
|
int |
getScaleMethod()
Gets or sets scale method for automatic adjust of image size.
|
int |
getTypeOfEntities()
Gets or sets type of entities to render.
|
void |
setAutomaticLayoutsScaling(boolean value)
Gets or sets a value indicating whether layouts should be automatically scaled.
|
void |
setContentAsBitmap(boolean value)
Gets or sets a value indicating whether content of a drawing is represented as image inside Pdf.
|
void |
setDrawType(int value)
Gets or sets type of drawing.
|
void |
setGraphicsOptions(GraphicsOptions value)
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
|
void |
setLayers(List<String> value)
Gets or sets layers of DXF file to export.
|
void |
setLayouts(String[] value)
Gets or sets the layoutName.
|
void |
setScaleMethod(int value)
Gets or sets scale method for automatic adjust of image size.
|
void |
setTypeOfEntities(int value)
Gets or sets type of entities to render.
|
getBackgroundColor, getBorderX, getBorderY, getCenterDrawing, getDrawColor, getPageHeight, getPageSize, getPageWidth, setBackgroundColor, setBorderX, setBorderY, setCenterDrawing, setDrawColor, setPageHeight, setPageSize, setPageWidth
public CadRenderHandler RenderResult
Render result.
public GraphicsOptions getGraphicsOptions()
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
public void setGraphicsOptions(GraphicsOptions value)
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
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.
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.
public int getTypeOfEntities()
Gets or sets type of entities to render.
public void setTypeOfEntities(int value)
Gets or sets type of entities to render.
public boolean getAutomaticLayoutsScaling()
Gets or sets a value indicating whether layouts should be automatically scaled.
public void setAutomaticLayoutsScaling(boolean value)
Gets or sets a value indicating whether layouts should be automatically scaled.
public String[] getLayouts()
Gets or sets the layoutName.
Value: The specific layout name or null for use Model. Model is also a layout.public void setLayouts(String[] value)
Gets or sets the layoutName.
Value: The specific layout name or null for use Model. Model is also a layout.public int getDrawType()
Gets or sets type of drawing.
public void setDrawType(int value)
Gets or sets type of drawing.
public int getScaleMethod()
Gets or sets scale method for automatic adjust of image size.
public void setScaleMethod(int value)
Gets or sets scale method for automatic adjust of image size.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.