Nevron .NET Vision
Nevron.Diagram Namespace / NDiagramNode Class / MeasurePixelsSize Method
size in pixels to measure
result size in scene units


In This Topic
    MeasurePixelsSize Method
    In This Topic
    Measures the specified size in pixels in scene units
    Syntax
    'Declaration
     
    
    Protected Overridable Function MeasurePixelsSize( _
       ByVal sizeInPixels As NSizeF, _
       ByRef sizeInSceneMU As NSizeF _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDiagramNode
    Dim sizeInPixels As NSizeF
    Dim sizeInSceneMU As NSizeF
    Dim value As System.Boolean
     
    value = instance.MeasurePixelsSize(sizeInPixels, sizeInSceneMU)
    protected virtual System.bool MeasurePixelsSize( 
       NSizeF sizeInPixels,
       out NSizeF sizeInSceneMU
    )

    Parameters

    sizeInPixels
    size in pixels to measure
    sizeInSceneMU
    result size in scene 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