public final class PageContentRotationHelper extends Object
PdfPage.setIgnorePageRotationForContent(boolean) is set to true.
Page rotation inverse matrix rotates content into the opposite direction from page rotation direction in order to give the impression of the not rotated text. It should be applied only once for the page.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPageRotationInverseMatrixWritten(PdfPage page)
Checks if page rotation inverse matrix (which rotates content into the opposite direction from the page rotation
direction in order to give the impression of the not rotated text) is already applied to the page content stream.
|
static void |
setPageRotationInverseMatrixWritten(PdfPage page)
Specify that inverse matrix (which rotates content into the opposite direction from the page rotation
direction in order to give the impression of the not rotated text) is applied to the page content stream.
|
public static boolean isPageRotationInverseMatrixWritten(PdfPage page)
PdfPage.setIgnorePageRotationForContent(boolean).page - PdfPage to check applied content rotation fortrue if inverse matrix is already applied, false otherwisepublic static void setPageRotationInverseMatrixWritten(PdfPage page)
PdfPage.setIgnorePageRotationForContent(boolean).page - PdfPage for which to specify that content rotation is appliedCopyright © 1998–2025 Apryse Group NV. All rights reserved.