ITextStoreACP2::GetScreenExt method (textstor.h)

Gets 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

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header textstor.h
DLL Msctf.dll

See also

ITextStoreACP2

ITfContextOwner::GetScreenExt

ITfContextView::GetScreenExt

TsViewCookie