com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class SvgLoadOptions



  • public final class SvgLoadOptions
    extends LoadOptions

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

    • Constructor Detail

      • SvgLoadOptions

        public SvgLoadOptions()

        Creates SvgLoadOptions object.

    • Method Detail

      • 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 Also:
        SvgLoadOptions.ConversionEngines
      • 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:
        conversionEngine - ConversionEngines element
        See Also:
        SvgLoadOptions.ConversionEngines
      • 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 object
      • setPageInfo

        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:
        value - 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:
        value - boolean value