ImageEn, unit iexPdfiumCore |
|
TPdfObject.Width
Declaration
property Width: Double;
Description
Specifies the width of an object (in PDF points).
Note:
◼ The
object matrix is used to calculate and set the width
◼ You can also use
Scale to change the size of an object
◼ You must call ImageEnView1.Invalidate() after setting the size
Read/write
Example
// Double the size of an object
obj := ImageEnView1.PdfViewer.Objects[idx];
obj.Width := obj.Width - * 2;
obj.Height := obj.Height - * 2;
ImageEnView1.Invalidate();
// Which is the same as...
ImageEnView1.PdfViewer.Objects.Scale( 2.0 );
ImageEnView1.Invalidate();
See Also
◼ X◼ Y◼ Height◼ Matrix◼ Scale◼ Translate◼ TransformEx