ITextStrings::SuffixTop method
Suffixes a string to the top string in the collection.
Syntax
HRESULT SuffixTop( [in] BSTR bstr, [in] ITextRange2 *pRange );
Parameters
- bstr [in]
-
Type: BSTR
The text to suffix to the top string.
- pRange [in]
-
Type: ITextRange2*
The range with the desired character formatting.
Return value
Type: HRESULT
If the method succeeds, it returns S_OK. If the method fails, it returns one of the following COM error codes. For more information about COM error codes, see Error Handling in COM.
Return code | Description |
---|---|
|
Insufficient memory. |
Remarks
This method is similar to ITextStrings::Append, but appends a string instead of a range.
Requirements
Minimum supported client |
Windows 8 [desktop apps only] |
---|---|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
|
DLL |
|
See also