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
| Constructor | Description |
|---|---|
| SvgLoadOptions | Creates {@code SvgLoadOptions} object. |
Methods
| Method | Description |
|---|---|
| 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 |
| getPageInfo | Gets page info that should be applied during loading of document. |
| isAdjustPageSize | Adust pdf page size to svg size |
| setAdjustPageSize | Adust pdf page size to svg size |
| setConversionEngine | 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 |
| setPageInfo | Sets 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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean 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:
| Parameter | Type | Description |
|---|---|---|
| conversionEngine | ConversionEngines element @see ConversionEngines |
setPageInfo
Sets page info that should be applied during loading of document.