Class OcrPageType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.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 Summary
Constructors Constructor Description OcrPageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()Gets the value of the height property.MetricsTypegetMetrics()Gets the value of the metrics property.intgetWidth()Gets the value of the width property.booleanisSetHeight()booleanisSetMetrics()booleanisSetWidth()voidsetHeight(int value)Sets the value of the height property.voidsetMetrics(MetricsType value)Sets the value of the metrics property.voidsetWidth(int value)Sets the value of the width property.voidunsetHeight()voidunsetWidth()
-
-
-
Field Detail
-
width
protected Integer width
-
height
protected Integer height
-
metrics
protected MetricsType metrics
-
-
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 isInteger
-
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 isInteger
-
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 isMetricsType
-
isSetMetrics
public boolean isSetMetrics()
-
-