CATAnnotationUseItf Interface CATIDftTextRange
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDftTextRange
Manage texts by selection in this text.
Method Index
- o
GetLength(int*)
- Get the number of character of the text range.
- o
GetStart(int*)
- Get the start index of the text range.
- o
GetString(wchar_t**)
- Get the text of the current selection.
- o
InsertSymbol(wchar_t*,int,int,wchar_t*)
-
- o
InsertSymbol(CATUnicodeString&,int)
- Manage symbol.
- o
SetString(wchar_t*)
- Modify the current text range with a new string.
Methods
o GetLength
public virtual GetLength( | | oLength) |
-
Get the number of character of the text range.
- Parameters:
-
- oLength
- the text range length.
o GetStart
public virtual GetStart( | | oStart) |
-
Get the start index of the text range.
- Parameters:
-
- oStart
- the start index of the text range.
o GetString
public virtual GetString( | | oStg) |
-
Get the text of the current selection.
- Parameters:
-
- ostg
- The returned text
o InsertSymbol
public virtual InsertSymbol( | const | iSymbol, |
| | iStart, |
| | iEnd, |
| | iFont | =NULL) |
-
- Deprecated:
- V5R17 use CATIDftTextRange::InsertSymbol
Manage symbol.
- Parameters:
-
- iSymbol
- symbol
- iStart
- location
- iEnd
- location
- iFont
- Font name to use for this symbol. Default CATIASymbols.
o InsertSymbol
public virtual InsertSymbol( | const | iSymbolName, |
| | iStart) |
-
Manage symbol.
- Parameters:
-
- iSymbolName
- symbol name as described in Standard
- iStart
- location
- iEnd
- location
o SetString
public virtual SetString( | const | iStg) |
-
Modify the current text range with a new string.
- Parameters:
-
- iStg
- Text to insert/replace.
If the selection is a cursor, the text will be inserted.
If not the slection will be replaced.
This object is included in the file: CATIDftTextRange.h
If needed, your Imakefile.mk should include the module: CATAnnotationUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.