Nevron .NET Vision
Nevron.Diagram Namespace / NRectanglePath Class / DefineModel Method / DefineModel(NPointF,NPointF,NPointF,NPointF) Method


In This Topic
    DefineModel(NPointF,NPointF,NPointF,NPointF) Method
    In This Topic
    Defines the rectangle model (in model coordinates)
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function DefineModel( _
       ByVal corner1 As NPointF, _
       ByVal corner2 As NPointF, _
       ByVal corner3 As NPointF, _
       ByVal corner4 As NPointF _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NRectanglePath
    Dim corner1 As NPointF
    Dim corner2 As NPointF
    Dim corner3 As NPointF
    Dim corner4 As NPointF
    Dim value As System.Boolean
     
    value = instance.DefineModel(corner1, corner2, corner3, corner4)
    public virtual System.bool DefineModel( 
       NPointF corner1,
       NPointF corner2,
       NPointF corner3,
       NPointF corner4
    )

    Parameters

    corner1
    corner2
    corner3
    corner4

    Return Value

    true if model definition succeeded, otherwise false
    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