SvgLoadOptions

Inheritance: java.lang.Object, com.aspose.pdf.LoadOptions com.aspose.pdf.SvgLoadOptions, com.aspose.pdf.LoadOptions, com.aspose.pdf.SvgLoadOptions

public final class SvgLoadOptions extends LoadOptions

Represents options for loading/importing SVG file into pdf document.

Constructors

ConstructorDescription
SvgLoadOptionsCreates {@code SvgLoadOptions} object.

Methods

MethodDescription
getConversionEngineAllows select conversion engine that will be in use during conversion. Currently new engine is in B-testing stage, so this value by default set to ConversionEngines.LegacyEngine
getPageInfoGets page info that should be applied during loading of document.
isAdjustPageSizeAdust pdf page size to svg size
setAdjustPageSizeAdust pdf page size to svg size
setConversionEngineAllows select conversion engine that will be in use during conversion. Currently new engine is in B-testing stage, so this value by default set to ConversionEngines.LegacyEngine
setPageInfoSets page info that should be applied during loading of document.

SvgLoadOptions

public SvgLoadOptions()

Creates {@code SvgLoadOptions} object.

getConversionEngine

public int getConversionEngine()

Allows select conversion engine that will be in use during conversion. Currently new engine is in B-testing stage, so this value by default set to ConversionEngines.LegacyEngine

Returns: ConversionEngines element @see ConversionEngines

getPageInfo

public PageInfo getPageInfo()

Gets page info that should be applied during loading of document.

Returns: PageInfo object

isAdjustPageSize

public boolean isAdjustPageSize()

Adust pdf page size to svg size

Returns: boolean value

setAdjustPageSize

public void setAdjustPageSize(boolean value)

Adust pdf page size to svg size

Parameters:

ParameterTypeDescription
valueboolean value

setConversionEngine

public void setConversionEngine(int conversionEngine)

Allows select conversion engine that will be in use during conversion. Currently new engine is in B-testing stage, so this value by default set to ConversionEngines.LegacyEngine

Parameters:

ParameterTypeDescription
conversionEngineConversionEngines element @see ConversionEngines

setPageInfo

Sets page info that should be applied during loading of document.