Spread Windows Forms 12.0 Product Documentation
GetPreferredPrintColumnWidth(Graphics,Int32) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetPreferredPrintColumnWidth(Graphics,Int32) Method
Graphics device interface
Column index
Gets the width of the widest cell (based on text content) in the specified column on this sheet for printing to the specified graphics device.
Syntax
'Declaration
 
Public Function GetPreferredPrintColumnWidth( _
   ByVal g As Graphics, _
   ByVal column As Integer _
) As Single
'Usage
 
Dim instance As SheetView
Dim g As Graphics
Dim column As Integer
Dim value As Single
 
value = instance.GetPreferredPrintColumnWidth(g, column)
public float GetPreferredPrintColumnWidth( 
   Graphics g,
   int column
)

Parameters

g
Graphics device interface
column
Column index
See Also

Reference

SheetView Class
SheetView Members