procedure TransformPageObject(Index: Integer; const Matrix: FS_MATRIX);
| Index | Integer. Zero-based index of the page object to transform |
| Matrix | FS_MATRIX. Transform to apply, with fields a, b, c, d, e, f in PDF matrix order. Translation lives in e and f, expressed in points |
Concatenates Matrix onto the existing matrix of the object rather than replacing it, so repeated calls accumulate. To set an absolute matrix instead, write the Matrix field of PageObjectInfo back through UpdatePageObject with pocMatrix
The identity matrix is (1, 0, 0, 1, 0, 0). Translation by dx, dy points is (1, 0, 0, 1, dx, dy); scaling by sx, sy is (sx, 0, 0, sy, 0, 0); rotation by an angle uses cosine and sine in a, b, c, d
Only the one object moves. To transform the whole page, annotations included, use TransformPageContent and TransformPageAnnotations
var M: FS_MATRIX;
M.a := 1; M.b := 0; M.c := 0; M.d := 1;
M.e := 72; M.f := 0; // shift one inch to the right
Pdf.TransformPageObject(0, M);
Pdf.UpdatePage;
Since internal v3.403.0, direct logical text, object membership and ActualText changes clear the affected saved paragraph cluster tables Geometry, style and metadata-only changes retain the tables and regenerate complete represented shared mark scopes across adjacent nonempty streams Mark list membership is local to the selected object, whilst exact shared declarations keep their identity The bundled DLLs isolate named-property parameter edits; native builds without detachment reject a table-affecting logical change before mutation
Read the native character maps again after mutation or reload These low-level operations do not supply reviewed replacement semantics or repair arbitrary tagged ownership Use the batch semantic-edit policies when those values and bindings must be reviewed together See scope, ownership and remaining source-preservation limits