method Level.DrawTickLinesFrom (Level as Long, Type as LevelLineEnum)
Indicates whether the level shows tick lines from specified level.

TypeDescription
Level as Long A long expression that specifies the index of the level that specifies the new base scale unit to show the tick lines 
Type as LevelLineEnum A LevelLineEnum expression that specifies the tick lines being shown.
Use the DrawTickLinesFrom method to show the tick lines based on the scale of another level. Use the DrawTickLinesFrom method when you need to display multiple tick lines based on the different levels. The DrawTickLines property specifies the style of lines being shown between time units of the level. The DrawTickLines / DrawTickLinesFrom property always draw the vertically lines in the level, while the DrawLevelSeparator property draws the horizontally lines in the level. Use the AdjustLevelsToBase property in case you are using a not-contiguous time scale, so the tick lines are not properly arranged.

The following screen shot shows on the first level days being separated with exLevelLowerHalf + exLevelSolidLine, while the second level displays hours exLevelMiddleLine Or exLevelDotLine, and call the .DrawTickLinesFrom 0, exLevelSolidLine, which means that the vertically solid lines from the second header are actually dictated by the first level, while the rest of units displays exLevelMiddleLine Or exLevelDotLine verticaly lines.

The following VB sample displays the tick lines from first level to second level:
With G2antt1
	.BeginUpdate 
	With .Chart
		.DrawLevelSeparator = exLevelNoLine
		.UnitWidth = 24
		.FirstVisibleDate = #1/1/2001#
		.PaneWidth(0) = 0
		.LevelCount = 2
		With .Level(0)
			.Alignment = CenterAlignment
			.Label = "<%dddd%>"
			.DrawTickLines = 18
		End With
		With .Level(1)
			.Label = 65536
			.Count = 6
			.DrawTickLines = 66
			.DrawTickLinesFrom 0,exLevelSolidLine
		End With
	End With
	.EndUpdate 
End With
The following VB.NET sample displays the tick lines from first level to second level:
With AxG2antt1
	.BeginUpdate 
	With .Chart
		.DrawLevelSeparator = EXG2ANTTLib.LevelLineEnum.exLevelNoLine
		.UnitWidth = 24
		.FirstVisibleDate = #1/1/2001#
		.PaneWidth(0) = 0
		.LevelCount = 2
		With .Level(0)
			.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment
			.Label = "<%dddd%>"
			.DrawTickLines = 18
		End With
		With .Level(1)
			.Label = 65536
			.Count = 6
			.DrawTickLines = 66
			.DrawTickLinesFrom 0,EXG2ANTTLib.LevelLineEnum.exLevelSolidLine
		End With
	End With
	.EndUpdate 
End With
The following C++ sample displays the tick lines from first level to second level:
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXG2ANTTLib' for the library: 'ExG2antt 1.0 Control Library'

	#import <ExG2antt.dll>
	using namespace EXG2ANTTLib;
*/
EXG2ANTTLib::IG2anttPtr spG2antt1 = GetDlgItem(IDC_G2ANTT1)->GetControlUnknown();
spG2antt1->BeginUpdate();
EXG2ANTTLib::IChartPtr var_Chart = spG2antt1->GetChart();
	var_Chart->PutDrawLevelSeparator(EXG2ANTTLib::exLevelNoLine);
	var_Chart->PutUnitWidth(24);
	var_Chart->PutFirstVisibleDate("1/1/2001");
	var_Chart->PutPaneWidth(0,0);
	var_Chart->PutLevelCount(2);
	EXG2ANTTLib::ILevelPtr var_Level = var_Chart->GetLevel(0);
		var_Level->PutAlignment(EXG2ANTTLib::CenterAlignment);
		var_Level->PutLabel("<%dddd%>");
		var_Level->PutDrawTickLines((EXG2ANTTLib::LevelLineEnum)18);
	EXG2ANTTLib::ILevelPtr var_Level1 = var_Chart->GetLevel(1);
		var_Level1->PutLabel(long(65536));
		var_Level1->PutCount(6);
		var_Level1->PutDrawTickLines((EXG2ANTTLib::LevelLineEnum)66);
		var_Level1->DrawTickLinesFrom(0,EXG2ANTTLib::exLevelSolidLine);
spG2antt1->EndUpdate();
The following C# sample displays the tick lines from first level to second level:
axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawLevelSeparator = EXG2ANTTLib.LevelLineEnum.exLevelNoLine;
	var_Chart.UnitWidth = 24;
	var_Chart.FirstVisibleDate = "1/1/2001";
	var_Chart.set_PaneWidth(0 != 0,0);
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<%dddd%>";
		var_Level.DrawTickLines = (EXG2ANTTLib.LevelLineEnum)18;
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = 65536;
		var_Level1.Count = 6;
		var_Level1.DrawTickLines = (EXG2ANTTLib.LevelLineEnum)66;
		var_Level1.DrawTickLinesFrom(0,EXG2ANTTLib.LevelLineEnum.exLevelSolidLine);
axG2antt1.EndUpdate();
The following VFP sample displays the tick lines from first level to second level:
with thisform.G2antt1
	.BeginUpdate
	with .Chart
		.DrawLevelSeparator = 0
		.UnitWidth = 24
		.FirstVisibleDate = {^2001-1-1}
		.PaneWidth(0) = 0
		.LevelCount = 2
		with .Level(0)
			.Alignment = 1
			.Label = "<%dddd%>"
			.DrawTickLines = 18
		endwith
		with .Level(1)
			.Label = 65536
			.Count = 6
			.DrawTickLines = 66
			.DrawTickLinesFrom(0,2)
		endwith
	endwith
	.EndUpdate
endwith
The following Delphi sample displays the tick lines from first level to second level:
with AxG2antt1 do
begin
	BeginUpdate();
	with Chart do
	begin
		DrawLevelSeparator := EXG2ANTTLib.LevelLineEnum.exLevelNoLine;
		UnitWidth := 24;
		FirstVisibleDate := '1/1/2001';
		PaneWidth[0 <> 0] := 0;
		LevelCount := 2;
		with Level[0] do
		begin
			Alignment := EXG2ANTTLib.AlignmentEnum.CenterAlignment;
			Label := '<%dddd%>';
			DrawTickLines := EXG2ANTTLib.LevelLineEnum(18);
		end;
		with Level[1] do
		begin
			Label := TObject(65536);
			Count := 6;
			DrawTickLines := EXG2ANTTLib.LevelLineEnum(66);
			DrawTickLinesFrom(0,EXG2ANTTLib.LevelLineEnum.exLevelSolidLine);
		end;
	end;
	EndUpdate();
end