CadRasterizationOptions Class

The Cad rasterization options.
Inheritance Hierarchy

Namespace:  Aspose.CAD.ImageOptions
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 21.9
public class CadRasterizationOptions : VectorRasterizationOptions

The CadRasterizationOptions type exposes the following members.

Public methodCadRasterizationOptions
Initializes a new instance of the CadRasterizationOptions class
Public propertyAutomaticLayoutsScaling
Gets or sets a value indicating whether layouts should be automatically scaled.
Public propertyBackgroundColor
Gets or sets a background color.
(Inherited from VectorRasterizationOptions.)
Public propertyBorderX Obsolete.
Gets or sets the border X.
(Inherited from VectorRasterizationOptions.)
Public propertyBorderY Obsolete.
Gets or sets the border Y.
(Inherited from VectorRasterizationOptions.)
Public propertyContentAsBitmap
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.
(Inherited from VectorRasterizationOptions.)
Public propertyDrawColor
Gets or sets a foreground color.
(Inherited from VectorRasterizationOptions.)
Public propertyDrawType
Gets or sets type of drawing.
Public propertyEmbedBackground
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)
(Inherited from VectorRasterizationOptions.)
Public propertyExportAllLayoutContent
Gets or sets whether to export entities on layouts, which are outside plot area.
Public propertyGraphicsOptions
Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
(Inherited from VectorRasterizationOptions.)
Public propertyLayers
Gets or sets layers of DXF file to export.
Public propertyLayoutPageSizes
Gets or sets the layout page sizes.
(Inherited from VectorRasterizationOptions.)
Public propertyLayouts
Gets or sets the layoutName.
Public propertyMargins
Gets or sets Margins.
(Inherited from VectorRasterizationOptions.)
Public propertyNoScaling
Gets or sets no scaling during export.
Public propertyCode exampleObserverPoint
Gets or sets the observer point.
Public propertyPageHeight
Gets or sets the page height.
(Inherited from VectorRasterizationOptions.)
Public propertyPageSize
Gets or sets the page size.
(Inherited from VectorRasterizationOptions.)
Public propertyPageWidth
Gets or sets the page width.
(Inherited from VectorRasterizationOptions.)
Public propertyPdfProductLocation
The PDF product location
Public propertyCode examplePenOptions
Gets or sets the pen options.
Public propertyQuality
Gets or sets the quality.
Public propertyRelativePosition
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.
(Inherited from VectorRasterizationOptions.)
Public propertyRelativeScale
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.
(Inherited from VectorRasterizationOptions.)
Public propertyUnitType
Gets or sets unit type of export result.
(Inherited from VectorRasterizationOptions.)
Public propertyCode exampleZoom
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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public fieldCode exampleRenderResult
Rendering result handler.
See Also