Nevron .NET Vision
Nevron.Diagram Namespace / NDiagramNode Class / MeasureStringInWorld Method
string to measure
text style of the string
result size in world measurement units


In This Topic
    MeasureStringInWorld Method (NDiagramNode)
    In This Topic
    Measures the specified string in world units
    Syntax
    'Declaration
     
    
    Protected Overridable Function MeasureStringInWorld( _
       ByVal str As System.String, _
       ByVal style As NTextStyle, _
       ByRef size As NSizeF _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDiagramNode
    Dim str As System.String
    Dim style As NTextStyle
    Dim size As NSizeF
    Dim value As System.Boolean
     
    value = instance.MeasureStringInWorld(str, style, size)
    protected virtual System.bool MeasureStringInWorld( 
       System.string str,
       NTextStyle style,
       out NSizeF size
    )

    Parameters

    str
    string to measure
    style
    text style of the string
    size
    result size in world measurement 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