Package net.webpdf.wsclient.openapi
Class OperationFitRectangleDestinationFitRectangle
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationFitRectangleDestinationFitRectangle
-
public class OperationFitRectangleDestinationFitRectangle extends Object
The fitRectangle element is used to specify a location within the document. It will jump to a page in the document and set a zoom factor that will ensure, as far as possible, that a rectangle produced by the offsets from the page margins is displayed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationFitRectangleDestinationFitRectangle.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_BOTTOM_OFFSETstatic StringJSON_PROPERTY_LEFT_OFFSETstatic StringJSON_PROPERTY_METRICSstatic StringJSON_PROPERTY_PAGEstatic StringJSON_PROPERTY_RIGHT_OFFSETstatic StringJSON_PROPERTY_TOP_OFFSET
-
Constructor Summary
Constructors Constructor Description OperationFitRectangleDestinationFitRectangle()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_BOTTOM_OFFSET
public static final String JSON_PROPERTY_BOTTOM_OFFSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEFT_OFFSET
public static final String JSON_PROPERTY_LEFT_OFFSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_METRICS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE
public static final String JSON_PROPERTY_PAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RIGHT_OFFSET
public static final String JSON_PROPERTY_RIGHT_OFFSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOP_OFFSET
public static final String JSON_PROPERTY_TOP_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
bottomOffset
public OperationFitRectangleDestinationFitRectangle bottomOffset(Integer bottomOffset)
-
getBottomOffset
@Nullable public @Nullable Integer getBottomOffset()
The area's offset from the bottom page margin.- Returns:
- bottomOffset
-
setBottomOffset
public void setBottomOffset(Integer bottomOffset)
-
leftOffset
public OperationFitRectangleDestinationFitRectangle leftOffset(Integer leftOffset)
-
getLeftOffset
@Nullable public @Nullable Integer getLeftOffset()
The area's offset from the left page margin.- Returns:
- leftOffset
-
setLeftOffset
public void setLeftOffset(Integer leftOffset)
-
metrics
public OperationFitRectangleDestinationFitRectangle metrics(OperationFitRectangleDestinationFitRectangle.MetricsEnum metrics)
-
getMetrics
@Nullable public @Nullable OperationFitRectangleDestinationFitRectangle.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(OperationFitRectangleDestinationFitRectangle.MetricsEnum metrics)
-
page
public OperationFitRectangleDestinationFitRectangle page(Integer page)
-
getPage
@Nullable public @Nullable Integer getPage()
The document page to which the jump will be. minimum: 1- Returns:
- page
-
setPage
public void setPage(Integer page)
-
rightOffset
public OperationFitRectangleDestinationFitRectangle rightOffset(Integer rightOffset)
-
getRightOffset
@Nullable public @Nullable Integer getRightOffset()
The area's offset from the right page margin.- Returns:
- rightOffset
-
setRightOffset
public void setRightOffset(Integer rightOffset)
-
topOffset
public OperationFitRectangleDestinationFitRectangle topOffset(Integer topOffset)
-
getTopOffset
@Nullable public @Nullable Integer getTopOffset()
The area's offset from the top page margin.- Returns:
- topOffset
-
setTopOffset
public void setTopOffset(Integer topOffset)
-
-