ITextStoreAnchor::GetScreenExt method (textstor.h)

The ITextStoreAnchor::GetScreenExt method returns the bounding box screen coordinates of the display surface where the text stream is rendered.

Syntax

HRESULT GetScreenExt(
  [in]  TsViewCookie vcView,
  [out] RECT         *prc
);

Parameters

[in] vcView

Specifies the context view.

[out] prc

Receives the bounding box screen coordinates of the display surface of the document.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
The specified vcView parameter is invalid.

Remarks

If the text is not currently displayed, for example, if the document window is minimized, the prc parameter is set to { 0, 0, 0, 0 }.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header textstor.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITextStoreAnchor

ITfContextOwner::GetScreenExt

ITfContextView::GetScreenExt

TsViewCookie