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.

    • Field Detail

      • ConversionEngine

        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

    • Constructor Detail

      • SvgLoadOptions

        public SvgLoadOptions()

        Creates SvgLoadOptions object.

    • Method Detail

      • 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