ImageEn, unit iexPdfiumCore |
|
TPdfObject.Rotation
Declaration
property Rotation: Double;
Description
Specify the rotation of an object (in degrees clockwise).
Rotation occurs around the point x,y (the bottom-left of the image when unrotated).
Note:
◼Rotation center is the bottom left of the object
◼The
object matrix is used to calculate the rotation
◼TransformEx is used to perform the rotation
◼Rotation cannot be set for path objects
Read/write
// Rotate object 90 deg. clockwise
obj := ImageEnView1.PdfViewer.Objects[idx];
obj.Rotation := obj.Rotation + 90;
See Also
◼TransformEx