Nevron .NET Vision
Nevron.Diagram Namespace / NDiagramNode Class / MeasureLengthInDevice Method
length to measure
result lenght in device units


In This Topic
    MeasureLengthInDevice Method
    In This Topic
    Measures the specified length in device units (i.e. pixels)
    Syntax
    'Declaration
     
    
    Protected Overridable Function MeasureLengthInDevice( _
       ByVal length As NLength, _
       ByRef deviceLength As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDiagramNode
    Dim length As NLength
    Dim deviceLength As System.Single
    Dim value As System.Boolean
     
    value = instance.MeasureLengthInDevice(length, deviceLength)
    protected virtual System.bool MeasureLengthInDevice( 
       NLength length,
       out System.float deviceLength
    )

    Parameters

    length
    length to measure
    deviceLength
    result lenght in device units

    Return Value

    true if the measurement 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