Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ITextStoreAnchor::GetScreenExt method

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

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 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Textstor.h

IDL

Textstor.idl

DLL

Msctf.dll

See also

ITextStoreAnchor
ITfContextOwner::GetScreenExt
ITfContextView::GetScreenExt
TsViewCookie

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.