SpreadsheetGear 2023
ColumnToPoints Method (IWorksheetWindowInfo)


SpreadsheetGear Namespace > IWorksheetWindowInfo Interface : ColumnToPoints Method
The fractional column position to convert.
Converts from a zero based fractional column position to points (1/72 of an inch).
Syntax
'Declaration
 
Function ColumnToPoints( _
   ByVal column As System.Double _
) As System.Double
'Usage
 
Dim instance As IWorksheetWindowInfo
Dim column As System.Double
Dim value As System.Double
 
value = instance.ColumnToPoints(column)
System.double ColumnToPoints( 
   System.double column
)

Parameters

column
The fractional column position to convert.

Return Value

The distance in points from the left edge of the first column of the worksheet to the zero based fractional column position.

  • 0.0 is the left edge of the first column.
  • 0.5 is the center of the first column.
  • 1.0 is the left edge of the second column.
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
PointsToColumn Method
RowToPoints Method
PointsToRow Method