public class CadOptions extends Object
The CAD documents rendering options.
Constructor and Description |
---|
CadOptions()
Initializes a new instance of the
CadOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getCadRenderSizingType()
Indicates how rendering result size should be calculated.
|
int |
getHeight()
The height of the render result in pixels.
|
String |
getLayoutName()
The name of the specific layout to render.
|
boolean |
getRenderLayouts()
Indicates whether layouts from CAD document should be rendered.
|
float |
getScaleFactor()
The scale factor affects the size of an output document.
|
int |
getWidth()
The width of the render result in pixels.
|
void |
setHeight(int value)
The height of the render result in pixels.
|
void |
setLayoutName(String value)
The name of the specific layout to render.
|
void |
setRenderLayouts(boolean value)
Indicates whether layouts from CAD document should be rendered.
|
void |
setScaleFactor(float value)
The scale factor affects the size of an output document.
|
void |
setWidth(int value)
The width of the render result in pixels.
|
public CadOptions()
Initializes a new instance of the CadOptions
class.
public float getScaleFactor()
The scale factor affects the size of an output document.
public void setScaleFactor(float value)
The scale factor affects the size of an output document.
value
- a float.public int getWidth()
The width of the render result in pixels.
public void setWidth(int value)
The width of the render result in pixels.
value
- a int.public int getHeight()
The height of the render result in pixels.
public void setHeight(int value)
The height of the render result in pixels.
value
- a int.public boolean getRenderLayouts()
Indicates whether layouts from CAD document should be rendered. Default value is false. When render layouts enabled, Model and all non-empty layouts contained in the CAD document will be rendered. Otherwise only Model is rendered.
public void setRenderLayouts(boolean value)
Indicates whether layouts from CAD document should be rendered. Default value is false. When render layouts enabled, Model and all non-empty layouts contained in the CAD document will be rendered. Otherwise only Model is rendered.
value
- a boolean.public String getLayoutName()
The name of the specific layout to render.
String
object.public void setLayoutName(String value)
The name of the specific layout to render.
value
- a String
object.public int getCadRenderSizingType()
Indicates how rendering result size should be calculated.
Copyright © 2018. All rights reserved.