The following VB code is copied from the EditControl online documentation regarding implementation of columnlines for windows forms:
' Enable Column Guides.
Me.editControl1.ShowColumnGuides = True
' Specify the color and the location of the Column Guides.
Dim columnGuideItem() As ColumnGuideItem = NewColumnGuideItem(2)
columnGuideItem(0) = New ColumnGuideItem(20, Color.Yellow)
columnGuideItem(1) = New ColumnGuideItem(40, Color.IndianRed)
Me.editControl1.ColumnGuideItems = columnGuideItem
' Font used to calculate the column location.
Me.editControl1.ColumnGuidesMeasuringFont = NewFont("Microsoft Sans Serif",12)
However, VS 2012 reports the following error:
Error 1 Value of type 'Syncfusion.Windows.Forms.Edit.Utils.ColumnGuideItem' cannot be converted to '1-dimensional array of Syncfusion.Windows.Forms.Edit.Utils.ColumnGuideItem'.
for the line
Dim columnGuideItem() As ColumnGuideItem = NewColumnGuideItem(2)
Can someone suggest a solution? Thanks.