ImageEn, unit iexPdfiumCore |
|
TPdfObject.Rotation
Declaration
property Rotation: Double;
Description
Specifies the rotation of an object (in degrees clockwise).
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
◼ You must call ImageEnView1.Invalidate() after setting the rotation
Read/write
Example
// Rotate object 90 deg. clockwise
obj := ImageEnView1.PdfViewer.Objects[idx];
obj.Rotation := obj.Rotation + 90;
ImageEnView1.Invalidate();
See Also
◼ TransformEx