Share via


VsTextViewClass.GetPointOfLineColumn Method

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

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

Syntax

'Declaration
Public Overridable Function GetPointOfLineColumn ( _
    iLine As Integer, _
    iCol As Integer, _
    <OutAttribute> ppt As POINT() _
) As Integer
public virtual int GetPointOfLineColumn(
    int iLine,
    int iCol,
    POINT[] ppt
)
public:
virtual int GetPointOfLineColumn(
    [InAttribute] int iLine, 
    [InAttribute] int iCol, 
    [OutAttribute] array<POINT>^ ppt
)
abstract GetPointOfLineColumn : 
        iLine:int * 
        iCol:int * 
        ppt:POINT[] byref -> int  
override GetPointOfLineColumn : 
        iLine:int * 
        iCol:int * 
        ppt:POINT[] byref -> int
public function GetPointOfLineColumn(
    iLine : int, 
    iCol : int, 
    ppt : POINT[]
) : int

Parameters

  • iLine
    Type: System.Int32

    [in] Integer containing the line index.

  • iCol
    Type: System.Int32

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

  • ppt
    Type: array<Microsoft.VisualStudio.OLE.Interop.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.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextView.GetPointOfLineColumn(Int32, Int32, array<POINT[])

.NET Framework Security

See Also

Reference

VsTextViewClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace