public final class SvgLoadOptions extends LoadOptions
Represents options for loading/importing SVG file into pdf document.
| Modifier and Type | Class and Description |
|---|---|
static class |
SvgLoadOptions.ConversionEngines
Enumerates conversion engines that can be used for conversion
|
LoadOptions.MarginsAreaUsageModes, LoadOptions.PageSizeAdjustmentModes, LoadOptions.ResourceLoadingResult, LoadOptions.ResourceLoadingStrategy| Constructor and Description |
|---|
SvgLoadOptions()
Creates
SvgLoadOptions object. |
| Modifier and Type | Method and Description |
|---|---|
int |
getConversionEngine()
Allows select conversion engine that will be in use during conversion.
|
PageInfo |
getPageInfo()
Gets page info that should be applied during loading of document.
|
boolean |
isAdjustPageSize()
Adust pdf page size to svg size
|
void |
setAdjustPageSize(boolean value)
Adust pdf page size to svg size
|
void |
setConversionEngine(int conversionEngine)
Allows select conversion engine that will be in use during conversion.
|
void |
setPageInfo(PageInfo value)
Sets page info that should be applied during loading of document.
|
getLoadFormat, getWarningHandler, isDisableFontLicenseVerifications, setDisableFontLicenseVerifications, setWarningHandlerpublic 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
SvgLoadOptions.ConversionEnginespublic 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
conversionEngine - ConversionEngines elementSvgLoadOptions.ConversionEnginespublic PageInfo getPageInfo()
Gets page info that should be applied during loading of document. NOTE that this parameter only works when ConversionEngine == ConversionEngines.NewEngine
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
value - PageInfo objectpublic boolean isAdjustPageSize()
Adust pdf page size to svg size
public void setAdjustPageSize(boolean value)
Adust pdf page size to svg size
value - boolean valueCopyright © 2024 Aspose. All Rights Reserved.