CTextRange2.SetDropCapmethod
Not implemented. Sets the drop-cap parameters for the paragraph that contains the current range.
Syntax
FUNCTION SetDropCap (BYVAL cLine AS LONG, BYVAL Position AS LONG) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
cLine | The count of lines for drop cap. Zero means no drop cap. | |
Position | The position of drop cap. It can be one of the following. tomDropMargin, tomDropNone, tomDropNormal |
Return value
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
Description
Not implemented.
Sets the drop-cap parameters for the paragraph that contains the current range.
Remarks
The current range can be degenerate, or you can select up to the complete drop-cap paragraph. If the range contains more than one paragraph, this method returns E_FAIL.
Reference
- Defined in AfxNova/CTextRange2.inc:1074
- Documented in Windows/WIndows Controls/RichEdit/CTextRange2 Class.md
- Topic: CTextRange2 Class