CadLoadOptions

Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions

All Implemented Interfaces: java.io.Serializable

public final class CadLoadOptions extends LoadOptions implements Serializable

Options for loading CAD documents.

Constructors

Constructor Description
CadLoadOptions() Initializes new instance of CadLoadOptions class.

Methods

Method Description
getFormat()
getWidth() Sets desired page width for converting CAD document
setWidth(int value) Sets desired page width for converting CAD document
getHeight() Sets desired page height for converting CAD document
setHeight(int value) Sets desired page height for converting CAD document
getLayoutNames() Specifies which CAD layouts to be converted
setLayoutNames(String[] value) Specififies which CAD layouts to be converted
getDrawType() Gets type of drawing.
setDrawType(CadDrawTypeMode drawType) Sets type of drawing.
getBackgroundColor() Gets a background color.
setBackgroundColor(System.Drawing.Color backgroundColor) Sets a background color.
getFontDirectories()
setFontDirectories(List fontDirectories)

CadLoadOptions()

public CadLoadOptions()

Initializes new instance of CadLoadOptions class.

getFormat()

public CadFileType getFormat()

Input document file type

Returns: CadFileType

getWidth()

public final int getWidth()

Sets desired page width for converting CAD document

Returns: int

setWidth(int value)

public final void setWidth(int value)

Sets desired page width for converting CAD document

Parameters:

Parameter Type Description
value int

getHeight()

public final int getHeight()

Sets desired page height for converting CAD document

Returns: int

setHeight(int value)

public final void setHeight(int value)

Sets desired page height for converting CAD document

Parameters:

Parameter Type Description
value int

getLayoutNames()

public final String[] getLayoutNames()

Specifies which CAD layouts to be converted

Returns: java.lang.String[]

setLayoutNames(String[] value)

public final void setLayoutNames(String[] value)

Specififies which CAD layouts to be converted

Parameters:

Parameter Type Description
value java.lang.String[]

getDrawType()

public CadDrawTypeMode getDrawType()

Gets type of drawing.

Returns: CadDrawTypeMode

setDrawType(CadDrawTypeMode drawType)

public void setDrawType(CadDrawTypeMode drawType)

Sets type of drawing.

Parameters:

Parameter Type Description
drawType CadDrawTypeMode

getBackgroundColor()

public System.Drawing.Color getBackgroundColor()

Gets a background color.

Returns: com.aspose.ms.System.Drawing.Color

setBackgroundColor(System.Drawing.Color backgroundColor)

public void setBackgroundColor(System.Drawing.Color backgroundColor)

Sets a background color.

Parameters:

Parameter Type Description
backgroundColor com.aspose.ms.System.Drawing.Color

getFontDirectories()

public List<String> getFontDirectories()

Returns: java.util.List<java.lang.String>

setFontDirectories(List fontDirectories)

public void setFontDirectories(List<String> fontDirectories)

Parameters:

Parameter Type Description
fontDirectories java.util.List<java.lang.String>