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

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


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