GoDiagram Win Reference
Layer Property (GoObject)

Gets the layer to which this object belongs.
Syntax
'Declaration
 
<CategoryAttribute("Ownership")>
<DescriptionAttribute("The GoLayer to which this object belongs.")>
Public ReadOnly Property Layer As GoLayer
[CategoryAttribute("Ownership")]
[DescriptionAttribute("The GoLayer to which this object belongs.")]
public GoLayer Layer {get;}
Remarks
If this object is not part of any layer, either directly as a top-level object, or as part of a group, then this property value will be null. You cannot set this property--call GoLayer.Add instead. CopyObject will not set this property directly, nor will it automatically add the copied object to some layer to set this property indirectly. The caller of CopyObject is responsible for deciding which GoLayer to add the newly copied object, if any.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoObject Class
GoObject Members
Document Property
View Property
OnLayerChanged Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback