Class: CADConvertOptions

PDFNet.Convert. CADConvertOptions


new CADConvertOptions()

An object containing options for fromCAD functions

Methods


addSheets(value)

Adds new sheets to the Sheets array The list of sheets to be converted -- only applies to .rvt conversions
Parameters:
Name Type Description
value string the sheets name to be added to Sheets
Returns:
this object, for call chaining
Type
PDFNet.Convert.CADConvertOptions

setAutoRotate(value)

Sets the value for AutoRotate in the options object Maps the orientation to the sheet dimensions
Parameters:
Name Type Description
value boolean the new value for AutoRotate
Returns:
this object, for call chaining
Type
PDFNet.Convert.CADConvertOptions

setLineWeight(value)

Sets the value for LineWeight in the options object Sets line weight option for cad conversion to true
Parameters:
Name Type Description
value boolean the new value for LineWeight
Returns:
this object, for call chaining
Type
PDFNet.Convert.CADConvertOptions

setPageHeight(value)

Sets the value for PageHeight in the options object The height of the output pdf, in millimeters
Parameters:
Name Type Description
value number the new value for PageHeight
Returns:
this object, for call chaining
Type
PDFNet.Convert.CADConvertOptions

setPageWidth(value)

Sets the value for PageWidth in the options object The width of the output pdf, in millimeters
Parameters:
Name Type Description
value number the new value for PageWidth
Returns:
this object, for call chaining
Type
PDFNet.Convert.CADConvertOptions

setRasterDPI(value)

Sets the value for RasterDPI in the options object Rasterization dpi used when rendering 3D content. Currently only applies to .rvt conversions
Parameters:
Name Type Description
value number the new value for RasterDPI
Returns:
this object, for call chaining
Type
PDFNet.Convert.CADConvertOptions