Visual Basic (Declaration) | |
---|---|
Public Property FrozenColumnCount As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim value As Integer instance.FrozenColumnCount = value value = instance.FrozenColumnCount |
C# | |
---|---|
public int FrozenColumnCount {get; set;} |
Property Value
Integer number of frozen columnsException | Description |
---|---|
System.ArgumentOutOfRangeException | Specified value is out of range; must be greater than or equal to zero |
This property freezes the first m columns between the headers and the first scrollable viewport similar to how the frozen trailing property (FrozenTrailingColumnCount) freezes the last n columns between the last scrollable viewport and the scroll bars.
This example sets the number of columns that cannot be scrolled to ten.
C# | Copy Code |
---|---|
fpSpread1.ActiveSheet.FrozenColumnCount = 10; fpSpread1.ActiveSheet.FrozenRowCount = 10; |
Visual Basic | Copy Code |
---|---|
FpSpread1.ActiveSheet.FrozenColumnCount = 10 FpSpread1.ActiveSheet.FrozenRowCount = 10 |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
SheetView ClassSheetView Members