IVsHighlight.GetHighlightRect Method (RECT[])

 

Returns the screen coordinates of a highlight rectangle.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetHighlightRect(
	RECT[] prc
)

Parameters

prc
Type: Microsoft.VisualStudio.OLE.Interop.RECT[]

[out] Screen coordinates of highlight or selection.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textfind.idl:

HRESULT IVsHighlight::GetHighlightRect(
   [out] RECT * prc
);
Return to top
Show: