Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NViewComponent Class / MeasureStyleLengthXInPixels Method
length to measure
result lenght in pixels


In This Topic
    MeasureStyleLengthXInPixels Method
    In This Topic
    Measures the specified X style length in pixels
    Syntax
    'Declaration
     
    
    Protected Overridable Function MeasureStyleLengthXInPixels( _
       ByVal length As NLength, _
       ByRef pixelsLength As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NViewComponent
    Dim length As NLength
    Dim pixelsLength As System.Single
    Dim value As System.Boolean
     
    value = instance.MeasureStyleLengthXInPixels(length, pixelsLength)
    protected virtual System.bool MeasureStyleLengthXInPixels( 
       NLength length,
       ref System.float pixelsLength
    )

    Parameters

    length
    length to measure
    pixelsLength
    result lenght in pixels

    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