java.lang.Object | ||
↳ | com.pdftron.pdf.OptionsBase | |
↳ | com.pdftron.pdf.CADConvertOptions |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | CADConvertOptions.LayoutSortOrder | Layout sorting options |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CADConvertOptions()
Constructor.
| |||||||||||
CADConvertOptions(String json_string)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CADConvertOptions |
addSheets(String value)
Adds a Sheets to the Sheets array
The list of sheets to be converted -- only applies to .rvt conversions
| ||||||||||
boolean |
getAllowThinLines()
Gets the value AllowThinLines from the options object
Sets drawing line weights to zero
| ||||||||||
boolean |
getAutoRotate()
Gets the value AutoRotate from the options object
Maps the orientation to the sheet dimensions
| ||||||||||
ColorPt |
getBackgroundColor()
Gets the value BackgroundColor from the options object
Sets background color for cad conversion (display palette may be adjusted to contrast the chosen background color)
| ||||||||||
String |
getColorMode()
Gets the value ColorMode from the options object
Sets the color palette used by the drawing export.
| ||||||||||
boolean |
getIncludeModel()
Gets the value IncludeModel from the options object
Instructs the conversion process to include the model layout (default: true).
| ||||||||||
CADConvertOptions.LayoutSortOrder |
getLayoutSortOrder()
Gets the value LayoutSortOrder from the options object
Specifies how the layout is sorted during cad to pdf conversion.
| ||||||||||
int |
getMaxXrefDepth()
Gets the value MaxXrefDepth from the options object
Maximum resolution depth for nested xrefs.
| ||||||||||
double |
getPageHeight()
Gets the value PageHeight from the options object
The height of the output pdf, in millimeters
| ||||||||||
double |
getPageWidth()
Gets the value PageWidth from the options object
The width of the output pdf, in millimeters
| ||||||||||
double |
getRasterDPI()
Gets the value RasterDPI from the options object
Rasterization dpi used when rendering 3D content.
| ||||||||||
boolean |
getUnderlineTextDataFields()
Gets the value UnderlineTextDataFields from the options object
If enabled, text data fields in the DGN CAD drawing are exported to PDF with an underline.
| ||||||||||
boolean |
getUseScaleFromDocument()
Gets the value UseScaleFromDocument from the options object
If enabled, sets export paper size equal to layout geometry's coordinate range in mm when ranges are less than 5080 mm.
| ||||||||||
boolean |
getZoomToExtents()
Gets the value ZoomToExtents from the options object
If enabled, the layout geometry is zoomed to the paper size, otherwise layout settings are applied.
| ||||||||||
CADConvertOptions |
setAllowThinLines(boolean value)
Sets the value for AllowThinLines in the options object
Sets drawing line weights to zero
| ||||||||||
CADConvertOptions |
setAutoRotate(boolean value)
Sets the value for AutoRotate in the options object
Maps the orientation to the sheet dimensions
| ||||||||||
CADConvertOptions |
setBackgroundColor(ColorPt value)
Sets the value for BackgroundColor in the options object
Sets background color for cad conversion (display palette may be adjusted to contrast the chosen background color)
| ||||||||||
CADConvertOptions |
setColorMode(String value)
Sets the value for ColorMode in the options object
Sets the color palette used by the drawing export.
| ||||||||||
CADConvertOptions |
setIncludeModel(boolean value)
Sets the value for IncludeModel in the options object
Instructs the conversion process to include the model layout (default: true).
| ||||||||||
CADConvertOptions |
setLayoutSortOrder(CADConvertOptions.LayoutSortOrder value)
Sets the value for LayoutSortOrder in the options object
Specifies how the layout is sorted during cad to pdf conversion.
| ||||||||||
CADConvertOptions |
setMaxXrefDepth(int value)
Sets the value for MaxXrefDepth in the options object
Maximum resolution depth for nested xrefs.
| ||||||||||
CADConvertOptions |
setPageHeight(double value)
Sets the value for PageHeight in the options object
The height of the output pdf, in millimeters
| ||||||||||
CADConvertOptions |
setPageWidth(double value)
Sets the value for PageWidth in the options object
The width of the output pdf, in millimeters
| ||||||||||
CADConvertOptions |
setRasterDPI(double value)
Sets the value for RasterDPI in the options object
Rasterization dpi used when rendering 3D content.
| ||||||||||
CADConvertOptions |
setUnderlineTextDataFields(boolean value)
Sets the value for UnderlineTextDataFields in the options object
If enabled, text data fields in the DGN CAD drawing are exported to PDF with an underline.
| ||||||||||
CADConvertOptions |
setUseScaleFromDocument(boolean value)
Sets the value for UseScaleFromDocument in the options object
If enabled, sets export paper size equal to layout geometry's coordinate range in mm when ranges are less than 5080 mm.
| ||||||||||
CADConvertOptions |
setZoomToExtents(boolean value)
Sets the value for ZoomToExtents in the options object
If enabled, the layout geometry is zoomed to the paper size, otherwise layout settings are applied.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds a Sheets to the Sheets array The list of sheets to be converted -- only applies to .rvt conversions
value | a String -- The list of sheets to be converted -- only applies to .rvt conversions |
---|
PDFNetException |
---|
Gets the value AllowThinLines from the options object Sets drawing line weights to zero
PDFNetException |
---|
Gets the value AutoRotate from the options object Maps the orientation to the sheet dimensions
PDFNetException |
---|
Gets the value BackgroundColor from the options object Sets background color for cad conversion (display palette may be adjusted to contrast the chosen background color)
PDFNetException |
---|
Gets the value ColorMode from the options object Sets the color palette used by the drawing export. Possible values are Mono (i.e., monochrome) and Gray (i.e., grayscale), otherwise drawing's original palette is used
PDFNetException |
---|
Gets the value IncludeModel from the options object Instructs the conversion process to include the model layout (default: true). Note that if the model layout is empty, it will never be included in the output
PDFNetException |
---|
Gets the value LayoutSortOrder from the options object Specifies how the layout is sorted during cad to pdf conversion. This affects how each layout is inserted into the output pdf (each layout becomes a pdf page).
PDFNetException |
---|
Gets the value MaxXrefDepth from the options object Maximum resolution depth for nested xrefs. Root drawing starts at level 0, subsequent nested levels increment by 1. Nested xrefs at levels greater than specified will not be loaded.
PDFNetException |
---|
Gets the value PageHeight from the options object The height of the output pdf, in millimeters
PDFNetException |
---|
Gets the value PageWidth from the options object The width of the output pdf, in millimeters
PDFNetException |
---|
Gets the value RasterDPI from the options object Rasterization dpi used when rendering 3D content. Currently only applies to .rvt conversions
PDFNetException |
---|
Gets the value UnderlineTextDataFields from the options object If enabled, text data fields in the DGN CAD drawing are exported to PDF with an underline. Disabled by default.
PDFNetException |
---|
Gets the value UseScaleFromDocument from the options object If enabled, sets export paper size equal to layout geometry's coordinate range in mm when ranges are less than 5080 mm. Paper size dimensions are clamped at 5080 mm, and are rescaled if coordinate ranges exceed 5080 mm. Disabled by default.
PDFNetException |
---|
Gets the value ZoomToExtents from the options object If enabled, the layout geometry is zoomed to the paper size, otherwise layout settings are applied. Enabled by default.
PDFNetException |
---|
Sets the value for AllowThinLines in the options object Sets drawing line weights to zero
value | a boolean -- Sets drawing line weights to zero |
---|
PDFNetException |
---|
Sets the value for AutoRotate in the options object Maps the orientation to the sheet dimensions
value | a boolean -- Maps the orientation to the sheet dimensions |
---|
PDFNetException |
---|
Sets the value for BackgroundColor in the options object Sets background color for cad conversion (display palette may be adjusted to contrast the chosen background color)
value | a ColorPt -- Sets background color for cad conversion (display palette may be adjusted to contrast the chosen background color) |
---|
PDFNetException |
---|
Sets the value for ColorMode in the options object Sets the color palette used by the drawing export. Possible values are Mono (i.e., monochrome) and Gray (i.e., grayscale), otherwise drawing's original palette is used
value | a String -- Sets the color palette used by the drawing export. Possible values are Mono (i.e., monochrome) and Gray (i.e., grayscale), otherwise drawing's original palette is used |
---|
PDFNetException |
---|
Sets the value for IncludeModel in the options object Instructs the conversion process to include the model layout (default: true). Note that if the model layout is empty, it will never be included in the output
value | a boolean -- Instructs the conversion process to include the model layout (default: true). Note that if the model layout is empty, it will never be included in the output |
---|
PDFNetException |
---|
Sets the value for LayoutSortOrder in the options object Specifies how the layout is sorted during cad to pdf conversion. This affects how each layout is inserted into the output pdf (each layout becomes a pdf page).
value | a LayoutSortOrder -- Specifies how the layout is sorted during cad to pdf conversion. This affects how each layout is inserted into the output pdf (each layout becomes a pdf page). |
---|
PDFNetException |
---|
Sets the value for MaxXrefDepth in the options object Maximum resolution depth for nested xrefs. Root drawing starts at level 0, subsequent nested levels increment by 1. Nested xrefs at levels greater than specified will not be loaded.
value | a int -- Maximum resolution depth for nested xrefs. Root drawing starts at level 0, subsequent nested levels increment by 1. Nested xrefs at levels greater than specified will not be loaded. |
---|
PDFNetException |
---|
Sets the value for PageHeight in the options object The height of the output pdf, in millimeters
value | a double -- The height of the output pdf, in millimeters |
---|
PDFNetException |
---|
Sets the value for PageWidth in the options object The width of the output pdf, in millimeters
value | a double -- The width of the output pdf, in millimeters |
---|
PDFNetException |
---|
Sets the value for RasterDPI in the options object Rasterization dpi used when rendering 3D content. Currently only applies to .rvt conversions
value | a double -- Rasterization dpi used when rendering 3D content. Currently only applies to .rvt conversions |
---|
PDFNetException |
---|
Sets the value for UnderlineTextDataFields in the options object If enabled, text data fields in the DGN CAD drawing are exported to PDF with an underline. Disabled by default.
value | a boolean -- If enabled, text data fields in the DGN CAD drawing are exported to PDF with an underline. Disabled by default. |
---|
PDFNetException |
---|
Sets the value for UseScaleFromDocument in the options object If enabled, sets export paper size equal to layout geometry's coordinate range in mm when ranges are less than 5080 mm. Paper size dimensions are clamped at 5080 mm, and are rescaled if coordinate ranges exceed 5080 mm. Disabled by default.
value | a boolean -- If enabled, sets export paper size equal to layout geometry's coordinate range in mm when ranges are less than 5080 mm. Paper size dimensions are clamped at 5080 mm, and are rescaled if coordinate ranges exceed 5080 mm. Disabled by default. |
---|
PDFNetException |
---|
Sets the value for ZoomToExtents in the options object If enabled, the layout geometry is zoomed to the paper size, otherwise layout settings are applied. Enabled by default.
value | a boolean -- If enabled, the layout geometry is zoomed to the paper size, otherwise layout settings are applied. Enabled by default. |
---|
PDFNetException |
---|