Class OperationConverterImage


  • public class OperationConverterImage
    extends Object
    The settings are used when converting images if the source file is an image. If the source file is another format that may contain images, then these settings may not apply.
    • Field Detail

    • Constructor Detail

      • OperationConverterImage

        public OperationConverterImage()
    • Method Detail

      • getMaintainAspectRatio

        @Nullable
        public @Nullable Boolean getMaintainAspectRatio()
        If enabled (\"true\"), then the aspect ratio of the graphic will be maintained when the graphic is converted to a specified page size in the PDF. If no paper size is defined, then the aspect ratio does not matter, because the page in the PDF will then always have the size of the graphic.
        Returns:
        maintainAspectRatio
      • setMaintainAspectRatio

        public void setMaintainAspectRatio​(Boolean maintainAspectRatio)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object