Spread Windows Forms 14.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / GetPreferredPrintColumnWidth(Graphics,Int32) Method
Graphics device interface
Column index


In This Topic
    GetPreferredPrintColumnWidth(Graphics,Int32) Method
    In This Topic
    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