|Top Previous Next|
procedure GetCurrentPictureInfo(var AName: TRVAnsiString; var Agr: TGraphic;
AName – name of the item. It can also be read using GetCurrentItemText method.
Agr – graphic object. This method returns object owned by RichViewEdit, do not not destroy it.
AVAlign – vertical alignment of the picture.
This method must be called only when the document is formatted.
Unicode note: names of non-text items are ANSI strings.
See also methods:
▪SetCurrentPictureInfo (changes properties of picture at the position of caret, as an editing operation);
▪GetPictureInfo (returns properties of the specified picture).
See also properties:
TRichView © trichview.com