SvgLoadOptions

Inheritance: java.lang.Object, com.aspose.imaging.LoadOptions

public class SvgLoadOptions extends LoadOptions

The Svg load options.

Constructors

ConstructorDescription
SvgLoadOptions()

Methods

MethodDescription
getDefaultWidth()Gets or sets the default width.
setDefaultWidth(int value)Gets or sets the default width.
getDefaultHeight()Gets or sets the default height.
setDefaultHeight(int value)Gets or sets the default height.

SvgLoadOptions()

public SvgLoadOptions()

getDefaultWidth()

public int getDefaultWidth()

Gets or sets the default width. Property DefaultWidth use with only case, when width not set in file.

Returns: int - The default width.

setDefaultWidth(int value)

public void setDefaultWidth(int value)

Gets or sets the default width. Property DefaultWidth use with only case, when width not set in file.

Parameters:

ParameterTypeDescription
valueintThe default width.

getDefaultHeight()

public int getDefaultHeight()

Gets or sets the default height. Property DefaultHeight use with only case, when height not set in file.

Returns: int - The default height.

setDefaultHeight(int value)

public void setDefaultHeight(int value)

Gets or sets the default height. Property DefaultHeight use with only case, when height not set in file.

Parameters:

ParameterTypeDescription
valueintThe default height.