CadRasterizationOptions Class

The Cad rasterization options.
Inheritance Hierarchy

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

The CadRasterizationOptions type exposes the following members.

Constructors
  NameDescription
Public methodCadRasterizationOptions
Initializes a new instance of the CadRasterizationOptions class
Properties
  NameDescription
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 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.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Public fieldCode exampleRenderResult
Rendering result handler.
See Also