Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NDiagramItem Class / SetProtectionMask Method


In This Topic
    SetProtectionMask Method
    In This Topic
    Sets the protection properties of this item to reflect the specified protection mask.
    Syntax
    'Declaration
     
    
    Public Sub SetProtectionMask( _
       ByVal protectionMask As ENDiagramItemOperationMask _
    ) 
    'Usage
     
    
    Dim instance As NDiagramItem
    Dim protectionMask As ENDiagramItemOperationMask
     
    instance.SetProtectionMask(protectionMask)
    public void SetProtectionMask( 
       ENDiagramItemOperationMask protectionMask
    )

    Parameters

    protectionMask
    Remarks
    This method sets values to the protection properties of this item that are exposed. For example if the you call SetProtectionMask(ENDiagramItemOperationMask.MoveX), this will allow all operations to the item, except MoveX.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also