ITextRange2::GetDropCap method (tom.h)

Not implemented.

Gets the drop-cap parameters of the paragraph that contains this range.

Syntax

HRESULT GetDropCap(
  [out] long *pcLine,
  [out] long *pPosition
);

Parameters

[out] pcLine

Type: long*

The count of lines for the drop cap. A value of 0 means no drop cap.

[out] pPosition

Type: long*

The position of the drop cap. The position can be one of the following:

  • tomDropMargin
  • tomDropNone
  • tomDropNormal

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h (include Tom.h)
DLL Msftedit.dll

See also

ITextRange2

ITextRange2::SetDropCap