PDFium Delphi Component Docs

TransformPageAnnotations method

Component: TPdf  ·  Unit: PDFium
Apply a transform matrix to every annotation on the current page

Syntax

procedure TransformPageAnnotations(const Matrix: FS_MATRIX);

MatrixFS_MATRIX. Transform applied to the annotation rectangles and appearances, in PDF matrix order

Description

The annotation half of a page transform. Content and annotations live in separate structures, so scaling or rotating a page takes both this and TransformPageContent with the same matrix if markup is to stay aligned with the text it refers to

Every annotation on the page moves; there is no per-annotation variant

Widget annotations move with the rest, so form fields keep their position relative to the page

See Also

TransformPageContent, TransformPageObject, Annotation, AnnotationCount