VsTextViewClass.GetPointOfLineColumn(Int32, Int32, POINT[]) Method

Definition

Returns the coordinates for the upper left corner of a particular line and column.

public:
 virtual int GetPointOfLineColumn(int iLine, int iCol, cli::array <Microsoft::VisualStudio::OLE::Interop::POINT> ^ ppt) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::GetPointOfLineColumn;
public:
 virtual int GetPointOfLineColumn(int iLine, int iCol, cli::array <Microsoft::VisualStudio::OLE::Interop::POINT> ^ ppt);
public:
 virtual int GetPointOfLineColumn(int iLine, int iCol, Platform::Array <Microsoft::VisualStudio::OLE::Interop::POINT> ^ ppt) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::GetPointOfLineColumn;
 virtual int GetPointOfLineColumn(int iLine, int iCol, std::Array <Microsoft::VisualStudio::OLE::Interop::POINT> const & ppt);
public virtual int GetPointOfLineColumn (int iLine, int iCol, Microsoft.VisualStudio.OLE.Interop.POINT[] ppt);
abstract member GetPointOfLineColumn : int * int * Microsoft.VisualStudio.OLE.Interop.POINT[] -> int
override this.GetPointOfLineColumn : int * int * Microsoft.VisualStudio.OLE.Interop.POINT[] -> int
Public Overridable Function GetPointOfLineColumn (iLine As Integer, iCol As Integer, ppt As POINT()) As Integer

Parameters

iLine
Int32

[in] Integer containing the line index.

iCol
Int32

[in] Integer containing the column index. Viewcol coordinates may include virtual space.

ppt
POINT[]

[out, retval] Structure defining the x- and y- coordinates of the upper left corner of the line. For more information, see POINT in the Platform SDK.

Returns

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

Implements

Applies to