SvgLoadOptions
Inheritance: java.lang.Object, com.aspose.pdf.LoadOptions
public final class SvgLoadOptions extends LoadOptions
Represents options for loading/importing SVG file into pdf document.
Constructors
Constructor | Description |
---|---|
SvgLoadOptions() | Creates SvgLoadOptions object. |
Methods
Method | Description |
---|---|
getConversionEngine() | Allows select conversion engine that will be in use during conversion. |
setConversionEngine(int conversionEngine) | Allows select conversion engine that will be in use during conversion. |
getPageInfo() | Gets page info that should be applied during loading of document. |
setPageInfo(PageInfo value) | Sets page info that should be applied during loading of document. |
isAdjustPageSize() | Adust pdf page size to svg size |
setAdjustPageSize(boolean value) | Adust pdf page size to svg size |
SvgLoadOptions()
public SvgLoadOptions()
Creates 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: int - ConversionEngines element
setConversionEngine(int conversionEngine)
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:
Parameter | Type | Description |
---|---|---|
conversionEngine | int | ConversionEngines element |
getPageInfo()
public PageInfo getPageInfo()
Gets page info that should be applied during loading of document. NOTE that this parameter only works when ConversionEngine == ConversionEngines.NewEngine
Returns: PageInfo - PageInfo object
setPageInfo(PageInfo value)
public void setPageInfo(PageInfo value)
Sets page info that should be applied during loading of document. NOTE that this parameter only works when ConversionEngine == ConversionEngines.NewEngine
Parameters:
Parameter | Type | Description |
---|---|---|
value | PageInfo | PageInfo object |
isAdjustPageSize()
public boolean isAdjustPageSize()
Adust pdf page size to svg size
Returns: boolean - boolean value
setAdjustPageSize(boolean value)
public void setAdjustPageSize(boolean value)
Adust pdf page size to svg size
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | boolean value |