Nevron .NET Vision
Nevron.Diagram Namespace / NModel Class / ScaleModel Method
x scale
y scale
pin (in model coordinates)


In This Topic
    ScaleModel Method (NModel)
    In This Topic
    Scales the model content around the specified pin (in model coordinates)
    Syntax
    'Declaration
     
    
    Public MustOverride Sub ScaleModel( _
       ByVal scaleX As System.Single, _
       ByVal scaleY As System.Single, _
       ByVal pin As NPointF _
    ) 
    'Usage
     
    
    Dim instance As NModel
    Dim scaleX As System.Single
    Dim scaleY As System.Single
    Dim pin As NPointF
     
    instance.ScaleModel(scaleX, scaleY, pin)
    public abstract void ScaleModel( 
       System.float scaleX,
       System.float scaleY,
       NPointF pin
    )

    Parameters

    scaleX
    x scale
    scaleY
    y scale
    pin
    pin (in model coordinates)

    Return Value

    true if scaling 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