GoDiagram Win Reference
AllowCopy Property (GoDocument)

Gets or sets whether the user can copy selected objects in this document.
Syntax
'Declaration
 
<DescriptionAttribute("Whether the user can copy selected objects in this document.")>
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
Public Overridable Property AllowCopy As Boolean
[DescriptionAttribute("Whether the user can copy selected objects in this document.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public virtual bool AllowCopy {get; set;}
Remarks
A false value prevents the user from copying objects in this document by the normal mechanisms. Even when this property value is true, some objects might not be copyable by the user because the object or its layer disallows it, or because the view disallows it. Your code can always copy objects programmatically by calling CopyFromCollection(IGoCollection).
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

GoDocument Class
GoDocument Members
CanCopyObjects Method
AllowCopy Property
Copyable Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback