IText Interface
- SetText
- GetText
In this release IText used to give access to 3D Labels. Further properties of
3D Labels can be accessed via IDIFont, IItem
and ILocation
queried from IText.
IText implemented by a top-level 3D Label can be obtained via:
Query path: DG Kernel >GetModel
> IModel > IPropertyArray2
> GetProperty("Items") > IArray2
> GetAt > IText
IText implemented by a 3D Label attached to an object can be obtained via:
Query path: ISection
> IPropertyArray2
> GetProperty("Items") > IArray2
> GetAt > IText, where ISection
represents the object.
See also Label Sample,
Interface List
HRESULT SetText(char* text)
Parameters
text - [in] New value of the text
string
Returns
- S_OK in case of
success.
Remarks:
The method sets the text string controlled by the interface.
HRESULT GetText( BSTR *text )
Parameters
text - [out] The returned text
string
Returns
- S_OK in case of
success.
Remarks:
The method returns the text string controlled by the interface.
|