Spread Windows Forms 9.0 Product Documentation
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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.