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.
|
CadDrawTypeMode |
getDrawType()
Gets type of drawing.
|
List<String> |
getFontDirectories() |
CadFileType |
getFormat()
Input document file type
|
int |
getHeight()
Sets desired page height for converting CAD document
|
String[] |
getLayoutNames()
Specifies which CAD layouts to be converted
|
int |
getWidth()
Sets desired page width for converting CAD document
|
void |
setBackgroundColor(com.aspose.ms.System.Drawing.Color backgroundColor)
Sets a background color.
|
void |
setCtbSources(Map<String,InputStream> ctbSources)
Sets the CTB sources.
|
void |
setDrawType(CadDrawTypeMode drawType)
Sets type of drawing.
|
void |
setFontDirectories(List<String> fontDirectories) |
void |
setHeight(int value)
Sets desired page height for converting CAD document
|
void |
setLayoutNames(String[] value)
Specififies which CAD layouts to be converted
|
void |
setWidth(int value)
Sets desired page width for converting CAD document
|
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)
Copyright © 2025. All rights reserved.