All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDrwSubText

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIDrwSubText
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDrwSubText

Interface on subtexts of CATIDrwSimpleText objects.

See also:
CATIDrwSimpleText


Method Index


o GetText(int)
Returns the text of the subtext.
o SetText(CATUnicodeString&)
Modifies the text.

Methods


o GetText
public virtual CATUnicodeString GetText(int ReadMode=GetTextResult )= 0
Returns the text of the subtext.
Parameters:
ReadMode

Value can be :
GetTextResult - The text is the resulting text (symbol are unichar, variables are calculated. example : 'angle is 47o'
GetTextFormula - The text is like the one which appears in the dialog box. example : 'Angle is <\LitteralPath\...\Value><\SYMBOLNAME\>'
GetLittFormula - The text is like a litteral formula. example : '"Angle is"+\LitteralPath\...\Value+"<\SYMBOLNAME\>"'
o SetText
public virtual void SetText( const CATUnicodeString& Text) = 0
Modifies the text.
The text must be in the TextFormula mode, like this : 'Angle is <\LitteralPath\...\Value><\SYMBOLNAME\>'.

This object is included in the file: CATIDrwSubText.h
If needed, your Imakefile.mk should include the module: CATDraftingInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.