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
Modifier and Type | Field and Description |
---|---|
int |
ConversionEngine
Allows select conversion engine that will be in use during conversion.
|
Constructor and Description |
---|
SvgLoadOptions()
Creates
SvgLoadOptions object. |
Modifier and Type | Method and Description |
---|---|
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 |
setPageInfo(PageInfo value)
Sets page info that should be applied during loading of document.
|
getLoadFormat, getWarningHandler, setWarningHandler
public 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
public 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 value