Package net.webpdf.wsclient.openapi
Class OperationOcrPage
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationOcrPage
-
public class OperationOcrPage extends Object
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationOcrPage.MetricsEnumUnit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HEIGHTstatic StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_WIDTH
-
Constructor Summary
Constructors Constructor Description OperationOcrPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable IntegergetHeight()Height of the page in the PDF document.@Nullable OperationOcrPage.MetricsEnumgetMetrics()Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches@Nullable IntegergetWidth()Width of the page in the PDF document.inthashCode()OperationOcrPageheight(Integer height)OperationOcrPagemetrics(OperationOcrPage.MetricsEnum metrics)voidsetHeight(Integer height)voidsetMetrics(OperationOcrPage.MetricsEnum metrics)voidsetWidth(Integer width)StringtoString()OperationOcrPagewidth(Integer width)
-
-
-
Field Detail
-
JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_METRICS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final String JSON_PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
height
public OperationOcrPage height(Integer height)
-
getHeight
@Nullable public @Nullable Integer getHeight()
Height of the page in the PDF document. minimum: 0- Returns:
- height
-
setHeight
public void setHeight(Integer height)
-
metrics
public OperationOcrPage metrics(OperationOcrPage.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationOcrPage.MetricsEnum getMetrics()
Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches- Returns:
- metrics
-
setMetrics
public void setMetrics(OperationOcrPage.MetricsEnum metrics)
-
width
public OperationOcrPage width(Integer width)
-
getWidth
@Nullable public @Nullable Integer getWidth()
Width of the page in the PDF document. minimum: 0- Returns:
- width
-
setWidth
public void setWidth(Integer width)
-
-