Class ConverterImageType


  • public class ConverterImageType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p165541_="https://jakarta.ee/xml/ns/jaxb" xmlns:p356920_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">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.</p>
     

    Java class for ConverterImageType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="ConverterImageType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="maintainAspectRatio" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • maintainAspectRatio

        protected Boolean maintainAspectRatio
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p165541_="https://jakarta.ee/xml/ns/jaxb" xmlns:p356920_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">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.</p>
         
    • Constructor Detail

      • ConverterImageType

        public ConverterImageType()
    • Method Detail

      • isMaintainAspectRatio

        public boolean isMaintainAspectRatio()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p165541_="https://jakarta.ee/xml/ns/jaxb" xmlns:p356920_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">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.</p>
         
        Returns:
        possible object is Boolean
      • setMaintainAspectRatio

        public void setMaintainAspectRatio​(boolean value)
        Sets the value of the maintainAspectRatio property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isMaintainAspectRatio()
      • isSetMaintainAspectRatio

        public boolean isSetMaintainAspectRatio()
      • unsetMaintainAspectRatio

        public void unsetMaintainAspectRatio()