Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnContainer Class : GroupsRoles Property |
public AnnGroupsRoles GroupsRoles {get; set;}
'Declaration
Public Property GroupsRoles As AnnGroupsRoles
public AnnGroupsRoles GroupsRoles {get; set;}
@property (nonatomic) LTAnnGroupsRoles* groupsRoles;
public AnnGroupsRoles getGroupsRoles() public void setGroupsRoles(AnnGroupsRoles roles)
get_GroupsRoles();
set_GroupsRoles(value);
Object.defineProperty('GroupsRoles');
The following occurs when the value of GroupsRoles is not null:
The user ID of any annotation object added to this container will be updated if it was empty. This is performed by checking the value of AnnObject.UserId against an empty string or null, and if so, updating this value with AnnGroupsRoles.CurrentUser.
When performing hit-testing, objects that do not have the correct role will be ignored and cannot be hit-tested (and thus, selected by the automation). This is performed by calling AnnGroupsRoles.IsCurrentUserInRole with AnnOperationType.HitTestObjects and either allowing the hit-test or ignoring it if based on the method return value. This is done when HitTestPoint or HitTestRect is called.