Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITextStoreACP2::GetScreenExt method

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

vcView [in]

Specifies the context view.

prc [out]

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

Return value

This method can return one of these values.

ValueDescription
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 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Textstor.h

IDL

Textstor.idl

DLL

Msctf.dll

See also

ITextStoreACP2
ITfContextOwner::GetScreenExt
ITfContextView::GetScreenExt
TsViewCookie

 

 

Show:
© 2017 Microsoft