Source.ColumnToVisiblePosition(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the column position that the user will see given the current tab size setting. This is the opposite of VisiblePositionToColumn
public:
int ColumnToVisiblePosition(int line, int col);
public:
int ColumnToVisiblePosition(int line, int col);
int ColumnToVisiblePosition(int line, int col);
public int ColumnToVisiblePosition (int line, int col);
member this.ColumnToVisiblePosition : int * int -> int
Public Function ColumnToVisiblePosition (line As Integer, col As Integer) As Integer
Parameters
- line
- Int32
The line of source to look at.
- col
- Int32
The offset into the line of source.
Returns
The screen column position that corresponds to the specified col
parameter.
Remarks
This method takes into account the current tab size setting and corresponding tab stops.
This method is the opposite of the VisiblePositionToColumn method.