public final class CadLoadOptions extends LoadOptions implements Serializable
Options for loading CAD documents.
| Constructor and Description |
|---|
CadLoadOptions()
Initializes new instance of
CadLoadOptions class. |
| Modifier and Type | Method and Description |
|---|---|
com.aspose.ms.System.Drawing.Color |
getBackgroundColor()
Gets a background color.
|
Map<String,InputStream> |
getCtbSources()
Gets the CTB sources.
|
com.aspose.ms.System.Drawing.Color |
getDrawColor()
Gets foreground color.
|
CadDrawTypeMode |
getDrawType()
Gets type of drawing.
|
List<String> |
getFontDirectories() |
CadFileType |
getFormat()
Input document file type
|
int |
getHeight()
Deprecated.
Use PageHeight or Height property of the target convert options.
This property will be removed in version 26.8.
|
String[] |
getLayoutNames()
Specifies which CAD layouts to be converted
|
int |
getWidth()
Deprecated.
Use PageWidth or Width property of the target convert options.
This property will be removed in version 26.8.
|
void |
setBackgroundColor(com.aspose.ms.System.Drawing.Color backgroundColor)
Sets a background color.
|
void |
setCtbSources(Map<String,InputStream> ctbSources)
Sets the CTB sources.
|
void |
setDrawColor(com.aspose.ms.System.Drawing.Color drawColor)
Sets foreground color.
|
void |
setDrawType(CadDrawTypeMode drawType)
Sets type of drawing.
|
void |
setFontDirectories(List<String> fontDirectories) |
void |
setHeight(int value)
Deprecated.
Use PageHeight or Height property of the target convert options.
This property will be removed in version 26.8.
|
void |
setLayoutNames(String[] value)
Specififies which CAD layouts to be converted
|
void |
setWidth(int value)
Deprecated.
Use PageWidth or Width property of the target convert options. //TODO remove deprecated properties
This property will be removed in version 26.8.
|
setFormatequals, equals, hashCode, op_Equality, op_Inequalitypublic CadLoadOptions()
Initializes new instance of CadLoadOptions class.
public CadFileType getFormat()
LoadOptionsInput document file type
getFormat in class LoadOptionspublic final int getWidth()
Sets desired page width for converting CAD document
public final void setWidth(int value)
Sets desired page width for converting CAD document
public final int getHeight()
Sets desired page height for converting CAD document
public final void setHeight(int value)
Sets desired page height for converting CAD document
public final String[] getLayoutNames()
Specifies which CAD layouts to be converted
public final void setLayoutNames(String[] value)
Specififies which CAD layouts to be converted
public CadDrawTypeMode getDrawType()
public void setDrawType(CadDrawTypeMode drawType)
public com.aspose.ms.System.Drawing.Color getBackgroundColor()
public void setBackgroundColor(com.aspose.ms.System.Drawing.Color backgroundColor)
public Map<String,InputStream> getCtbSources()
public void setCtbSources(Map<String,InputStream> ctbSources)
public com.aspose.ms.System.Drawing.Color getDrawColor()
public void setDrawColor(com.aspose.ms.System.Drawing.Color drawColor)
Copyright © 2026. All rights reserved.