Class Page
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.result.pdfproperties.Page
-
public class Page extends Object
This class provides information about a Page of the specified PDF file, such as page number, height, width etc.
-
-
Constructor Summary
Constructors Constructor Description Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentgetContent()Returns aContentinstance that specifies content level properties of the PDF such as number of images, textual content etc.DoublegetHeight()Returns the height of the page.IntegergetPageNumber()Returns the page number of thisPage, starting from 0.DoublegetWidth()Returns the width of the page.BooleanhasStructure()Returns a boolean specifying whether the page has structure/tagging.BooleanisScanned()Returns a boolean specifying whether the page is scanned.
-
-
-
Method Detail
-
isScanned
public Boolean isScanned()
Returns a boolean specifying whether the page is scanned.- Returns:
trueif the page is scanned. False otherwise.
-
hasStructure
public Boolean hasStructure()
Returns a boolean specifying whether the page has structure/tagging.- Returns:
trueif the page has structure/tagging. False otherwise.
-
getContent
public Content getContent()
Returns aContentinstance that specifies content level properties of the PDF such as number of images, textual content etc.- Returns:
- A
Contentinstance.
-
getHeight
public Double getHeight()
Returns the height of the page.- Returns:
- A Double denoting the height of the page.
-
getPageNumber
public Integer getPageNumber()
Returns the page number of thisPage, starting from 0.- Returns:
- An Integer denoting the page number.
-
getWidth
public Double getWidth()
Returns the width of the page.- Returns:
- A Double denoting the width of the page.
-
-