AnnSetText method (ILEADRasterAnnotation)
short AnnSetText(long hObject, BSTR pszText, VARIANT_BOOL bSelected); | |
Overview |
Refer to Implementing Annotations. |
Remarks
(Document/Medical only) Sets the text (character string) of one or more annotation objects.
This method does not affect objects that do not have this property or that do not let you change the property. For descriptions of the various types of objects and their properties, refer to Types of Annotations.
This method can be used to load unformatted text into an ANN_OBJECT_RTF object. To load rich text into an ANN_OBJECT_RTF object, see the documentation for AnnRTFText.
If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container depending on the value of bSelected parameter.
If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.
See Also
Elements |
AnnAutoSnapCursor property, AnnGetText method, AnnGetAutoText method, AnnSetAutoText method |
Topics |