public abstract class VectorRasterizationOptions extends Object
The vector rasterization options.
Constructor and Description |
---|
VectorRasterizationOptions() |
Modifier and Type | Method and Description |
---|---|
com.aspose.cad.Color |
getBackgroundColor()
Gets or sets a background color.
|
float |
getBorderX()
Deprecated.
Please, use Margins property instead
|
float |
getBorderY()
Deprecated.
Please, use Margins property instead
|
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.
|
boolean |
getEmbedBackground()
Wether background of color not equal to default background color of output format (white for PDF and SVG, transparent for raster) should be embedded into output image (if not embedded, background will be default of the output render system, but color of the content that depend on background color will be rendered using stated background color)
|
com.aspose.cad.imageoptions.GraphicsOptions |
getGraphicsOptions()
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
|
HashMap<String,com.aspose.cad.SizeF> |
getLayoutPageSizes()
Gets or sets the layout page sizes.
|
Margins |
getMargins()
Gets or sets Margins.
|
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)
Deprecated.
Please, use Margins property instead
|
void |
setBorderY(float value)
Deprecated.
Please, use Margins property instead
|
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 |
setEmbedBackground(boolean value)
Wether background of color not equal to default background color of output format (white for PDF and SVG, transparent for raster) should be embedded into output image (if not embedded, background will be default of the output render system, but color of the content that depend on background color will be rendered using stated background 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(HashMap<String,com.aspose.cad.SizeF> value)
Gets or sets the layout page sizes.
|
void |
setMargins(Margins value)
Gets or sets Margins.
|
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.
|
@Deprecated public float getBorderX()
Gets or sets the border X.
@Deprecated public void setBorderX(float value)
Gets or sets the border X.
value
- The border X.public final Margins getMargins()
Gets or sets Margins.
public final void setMargins(Margins value)
Gets or sets Margins.
@Deprecated public float getBorderY()
Gets or sets the border Y.
@Deprecated public void setBorderY(float value)
Gets or sets the border Y.
value
- The border Y.public float getPageHeight()
Gets or sets the page height.
public void setPageHeight(float value)
Gets or sets the page height.
public com.aspose.cad.SizeF getPageSize()
Gets or sets the page size.
public void setPageSize(com.aspose.cad.SizeF value)
Gets or sets the page size.
public float getPageWidth()
Gets or sets the page width.
public void setPageWidth(float value)
Gets or sets the page width.
public com.aspose.cad.Color getBackgroundColor()
Gets or sets a background color.
public void setBackgroundColor(com.aspose.cad.Color value)
Gets or sets a background color.
public final boolean getEmbedBackground()
Wether background of color not equal to default background color of output format (white for PDF and SVG, transparent for raster) should be embedded into output image (if not embedded, background will be default of the output render system, but color of the content that depend on background color will be rendered using stated background color)
public final void setEmbedBackground(boolean value)
Wether background of color not equal to default background color of output format (white for PDF and SVG, transparent for raster) should be embedded into output image (if not embedded, background will be default of the output render system, but color of the content that depend on background color will be rendered using stated background color)
public com.aspose.cad.Color getDrawColor()
Gets or sets a foreground color.
public void setDrawColor(com.aspose.cad.Color value)
Gets or sets a foreground color.
public int getUnitType()
Gets or sets unit type of export result.
public void setUnitType(int value)
Gets or sets unit type of export result.
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 com.aspose.cad.imageoptions.GraphicsOptions getGraphicsOptions()
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
public void setGraphicsOptions(com.aspose.cad.imageoptions.GraphicsOptions value)
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
public final HashMap<String,com.aspose.cad.SizeF> getLayoutPageSizes()
Gets or sets the layout page sizes.
public final void setLayoutPageSizes(HashMap<String,com.aspose.cad.SizeF> value)
Gets or sets the layout page sizes.
value
- The layout page sizes.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.
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.
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.
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.