ImageEn, unit iexPdfiumCore |
|
TPdfObject.Width
Declaration
property Width: Double;
Description
Specify 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
Read/write
// Double the size of an object
obj := ImageEnView1.PdfViewer.Objects[idx];
obj.Width := obj.Width * 2;
obj.Height := obj.Height * 2;
// Which is the same as...
ImageEnView1.PdfViewer.Objects.Scale( 2.0 );
See Also
◼X◼Y◼Height◼Matrix◼Scale◼Translate◼TransformEx