Interface RenditionPageSize


public interface RenditionPageSize
Represents the size and rotation information of a single page in a document rendition.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the crop box of the page.
    Retrieves the document version ID of the document version on which this page is located in the format documentId_majorVersion_minorVersion.
    Retrieves the media box of the page.
    int
    Retrieves the page number of the page (1 indexed).
    int
    Retrieves the rotation of the page.
  • Method Details

    • getDocumentVersionId

      String getDocumentVersionId()
      Retrieves the document version ID of the document version on which this page is located in the format documentId_majorVersion_minorVersion. For example, 123_1_0.
      Returns:
      the document version ID
    • getPageNumber

      int getPageNumber()
      Retrieves the page number of the page (1 indexed).
      Returns:
      the page number
    • getCropBox

      BoundingBox getCropBox()
      Retrieves the crop box of the page.
      Returns:
      the crop box
    • getMediaBox

      BoundingBox getMediaBox()
      Retrieves the media box of the page. The height and width are equivalent to the size of the page before the crop box is applied. Note that it may have a shifted origin in rare cases.
      Returns:
      the media box
    • getRotation

      int getRotation()
      Retrieves the rotation of the page. If the rotation was changed and saved in the Doc Viewer, this will reflect that. Allowed values include 0, 90, 180, and 270.
      Returns:
      the page rotation