OverheadSheetInfo.LastVisibleColumn Property

Gets the last column visible in a sheet in the overhead workbook.
Public ReadOnly Property LastVisibleColumn() As Integer
This language is not supported or no code example is available.
public int LastVisibleColumn {get;}
This language is not supported or no code example is available.

Property Value

int

The last visible column, zero-based. -1 when the Sheet is not a valid or applicable overhead sheet.

Remarks
 

Do not confuse this last visible column with the real last column allocated in the sheet obtained by UsedRange: sheet.UsedRange.ColumnCount -1.

The function returns the last column that was displayed when implementing columns. Other columns that are to the right of that column are hidden and used only by QDV for internal purposes.

The property is applicable only with the following worksheet types:

NativeSheetType.Currencies
NativeSheetType.Material_Set_Of_Field,  
NativeSheetType.Workforce_Set_Of_Field
NativeSheetType.Families,  
NativeSheetType.Manufacturers,  
NativeSheetType.Suppliers
NativeSheetType.Custom_Columns,  
NativeSheetType.User_Defined_Fields,  
NativeSheetType.Planner
NativeSheetType.List_Box,  
NativeSheetType.Material_Time_Frame
NativeSheetType.Workforce_Time_Frame

Version
 
Available since QDV 7.21.848.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition