Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NControl Class / SetLocation Method


In This Topic
    SetLocation Method (NControl)
    In This Topic
    Sets the location (X, Y properties) of the control point. The location is in local coordinates. Takes into account the XBehavior and YBehavior properties to properly update the X and Y expressions. Unglues the control point prior to the expressions update.
    Syntax
    'Declaration
     
    
    Public Overrides Sub SetLocation( _
       ByVal pt As NPoint _
    ) 
    'Usage
     
    
    Dim instance As NControl
    Dim pt As NPoint
     
    instance.SetLocation(pt)
    public override void SetLocation( 
       NPoint pt
    )

    Parameters

    pt
    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