SpreadsheetGear 2023
PointsToColumn Method (IWorksheetWindowInfo)


SpreadsheetGear Namespace > IWorksheetWindowInfo Interface : PointsToColumn Method
The distance in points from the left edge of the first column of the worksheet.
Converts from points (1/72 of an inch) to a zero based fractional column position.
Syntax
'Declaration
 
Function PointsToColumn( _
   ByVal x As System.Double _
) As System.Double
'Usage
 
Dim instance As IWorksheetWindowInfo
Dim x As System.Double
Dim value As System.Double
 
value = instance.PointsToColumn(x)
System.double PointsToColumn( 
   System.double x
)

Parameters

x
The distance in points from the left edge of the first column of the worksheet.

Return Value

The zero based fractional column position of the specified location.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IWorksheetWindowInfo Interface
IWorksheetWindowInfo Members
ColumnToPoints Method
PointsToRow Method
RowToPoints Method