HomeProductsSupportDownloadsOnline StoreOnLine DocumentationLicensingAbout UsContact Us
User's Manual - ActiveGantt Scheduler Component for Visual Basic .Net - The Source Code Store .Com - Professional source code for Microsoft Visual Basic and Visual Studio .NET and specialized software components.
Back to Table of Contents
Example
Send Feedback

Add Method (Layers Collection)

Adds a Layer object to the Layers collection.

Syntax:

ActiveGanttVBNCtl.Layers.Add(Key As String, [Visible As Boolean = True])

The Add Method (Layers Collection) syntax has these parts:

 Part  Description
ActiveGanttVBNCtl.Layers An object expression that evaluates to an ActiveGantt Schedule Control's Layers collection.
Key (Required). A string value that uniquely identifies the Layer object.
Visible (Optional). A boolean value that determines whether the Layer is visible as described in settings.

The settings for Visible are:

 Setting  Description

Remarks:

This method adds objects at the top of the list. In order to retrieve the index of the Layer object that was added use the collection's Count property.

See Also:

Layers Property , Clear Method (Layers Collection), Count Property (Layers Collection), Item Property (Layers Collection), Remove Method (Layers Collection)

 

Home | Products | Support | Downloads | OnLine Store

Online Documentation | Licensing | About Us | Contact Us

Privacy Terms of use Copyright (c)2002-2004 Source Code Store. All trademarks are property of their legal owner.