ImageEn, unit iexPdfiumCore |
|
TPdfObject.Text
Declaration
property Text: String;
Description
Specifies the text (when
ObjectType is ptText).
Note:
◼ Specify the fill color using
FillColor◼ You must call ImageEnView1.Invalidate() after setting Text
Read/write
Example
// Set the text of all text objects in page
for i := 0 to ImageEnView1.PdfViewer.Objects.Count - 1 do
if objType = ptText then
ImageEnView1.PdfViewer.Objects[i].Text := 'Text Object ' + i.ToString;
ImageEnView1.Invalidate();
See Also
◼ GetTextFont