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)
    Protected Overridable Function MeasureLengthInDevice( _
       ByVal length As NLength, _
       ByRef deviceLength As System.Single _
    ) As System.Boolean
    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


    length to measure
    result lenght in device units

    Return Value

    true if the measurement succeeded, otherwise false

    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