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.
|
protected List<Object> |
getEqualityComponents()
Gets equality components.
|
List<String> |
getFontDirectories() |
CadFileType |
getFormat()
Input document file type
|
String[] |
getLayoutNames()
Specifies which CAD layouts to be converted
|
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 |
setLayoutNames(String[] value)
Specififies which CAD layouts to be converted
|
setFormatequals, equals, hashCode, op_Equality, op_Inequalitypublic CadLoadOptions()
Initializes new instance of CadLoadOptions class.
public com.aspose.ms.System.Drawing.Color getBackgroundColor()
public Map<String,InputStream> getCtbSources()
public com.aspose.ms.System.Drawing.Color getDrawColor()
public CadDrawTypeMode getDrawType()
protected List<Object> getEqualityComponents()
ValueObjectGets equality components.
getEqualityComponents in class ValueObjectpublic CadFileType getFormat()
LoadOptionsInput document file type
getFormat in class LoadOptionspublic final String[] getLayoutNames()
Specifies which CAD layouts to be converted
public void setBackgroundColor(com.aspose.ms.System.Drawing.Color backgroundColor)
public void setCtbSources(Map<String,InputStream> ctbSources)
public void setDrawColor(com.aspose.ms.System.Drawing.Color drawColor)
public void setDrawType(CadDrawTypeMode drawType)
public final void setLayoutNames(String[] value)
Specififies which CAD layouts to be converted
Copyright © 2026 Aspose Pty Ltd. All rights reserved.