Nevron .NET Vision
Nevron.Diagram Namespace / NBoxPrimitive Class / GetWorldTextPaintInfo Method
text for which to obtain paint info
the bound box of the text
result paint info


In This Topic
    GetWorldTextPaintInfo Method (NBoxPrimitive)
    In This Topic
    Obtains text paint info in world coordinates
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetWorldTextPaintInfo( _
       ByVal text As System.String, _
       ByVal textBounds As NRectangleF, _
       ByVal allowDownwardOrientation As System.Boolean, _
       ByRef info As NTextPaintInfo _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBoxPrimitive
    Dim text As System.String
    Dim textBounds As NRectangleF
    Dim allowDownwardOrientation As System.Boolean
    Dim info As NTextPaintInfo
    Dim value As System.Boolean
     
    value = instance.GetWorldTextPaintInfo(text, textBounds, allowDownwardOrientation, info)
    protected virtual System.bool GetWorldTextPaintInfo( 
       System.string text,
       NRectangleF textBounds,
       System.bool allowDownwardOrientation,
       out NTextPaintInfo info
    )

    Parameters

    text
    text for which to obtain paint info
    textBounds
    the bound box of the text
    allowDownwardOrientation
    info
    result paint info

    Return Value

    true if paint info was successfully obtained, 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