Share via


IVsHighlight.GetHighlightRect(RECT[]) Method

Definition

Returns the screen coordinates of a highlight rectangle.

public:
 int GetHighlightRect(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc);
public:
 int GetHighlightRect(Platform::Array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc);
int GetHighlightRect(std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & prc);
public int GetHighlightRect (Microsoft.VisualStudio.OLE.Interop.RECT[] prc);
abstract member GetHighlightRect : Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function GetHighlightRect (prc As RECT()) As Integer

Parameters

prc
RECT[]

[out] Screen coordinates of highlight or selection.

Returns

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

Remarks

COM Signature

From textfind.idl:

HRESULT IVsHighlight::GetHighlightRect(  
   [out] RECT * prc  
);  

Applies to