Spread WPF Documentation
AddColumnViewport Method (Worksheet)
Example 


The index of the column viewport.
The width of the viewport.
Adds the column viewport.
Syntax
'Declaration
 
Public Sub AddColumnViewport( _
   ByVal columnViewportIndex As System.Integer, _
   ByVal viewportWidth As System.Double _
) 
'Usage
 
Dim instance As Worksheet
Dim columnViewportIndex As System.Integer
Dim viewportWidth As System.Double
 
instance.AddColumnViewport(columnViewportIndex, viewportWidth)
public void AddColumnViewport( 
   System.int columnViewportIndex,
   System.double viewportWidth
)

Parameters

columnViewportIndex
The index of the column viewport.
viewportWidth
The width of the viewport.
Example
This example uses the AddColumnViewport method.
gcSpreadSheet1.Sheets[0].AddColumnViewport(0, 250);
GcSpreadSheet1.Sheets(0).AddColumnViewport(0, 250)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.