Class OcrPageType


  • public class OcrPageType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p327152_="https://jakarta.ee/xml/ns/jaxb" xmlns:p898759_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If images are converted to PDF documents during the character recognition process, the size of the page will be computed based on the size of the image and the DPI resolution. This element can be used to specify a custom page size instead.</p>
     

    Java class for OcrPageType complex type.

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

    
     <complexType name="OcrPageType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="width" default="210">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="height" default="297">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • OcrPageType

        public OcrPageType()
    • Method Detail

      • getWidth

        public int getWidth()
        Gets the value of the width property.
        Returns:
        possible object is Integer
      • setWidth

        public void setWidth​(int value)
        Sets the value of the width property.
        Parameters:
        value - allowed object is Integer
      • isSetWidth

        public boolean isSetWidth()
      • unsetWidth

        public void unsetWidth()
      • getHeight

        public int getHeight()
        Gets the value of the height property.
        Returns:
        possible object is Integer
      • setHeight

        public void setHeight​(int value)
        Sets the value of the height property.
        Parameters:
        value - allowed object is Integer
      • isSetHeight

        public boolean isSetHeight()
      • unsetHeight

        public void unsetHeight()
      • getMetrics

        public MetricsType getMetrics()
        Gets the value of the metrics property.
        Returns:
        possible object is MetricsType
      • setMetrics

        public void setMetrics​(MetricsType value)
        Sets the value of the metrics property.
        Parameters:
        value - allowed object is MetricsType
      • isSetMetrics

        public boolean isSetMetrics()