Nevron .NET Vision
Nevron.UI Namespace / NImageAndTextLayout Class / GetTextBounds Method


In This Topic
    GetTextBounds Method
    In This Topic
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetTextBounds( _
       ByVal item As NImageAndTextItem, _
       ByVal rtl As System.Windows.Forms.RightToLeft, _
       ByVal availableBounds As NRectangle, _
       ByVal combined As NRectangle, _
       ByVal display As NRectangle, _
       ByVal textSize As NSize, _
       ByVal imageSize As NSize, _
       ByVal useCombined As System.Boolean, _
       ByVal space As System.Integer _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NImageAndTextLayout
    Dim item As NImageAndTextItem
    Dim rtl As System.Windows.Forms.RightToLeft
    Dim availableBounds As NRectangle
    Dim combined As NRectangle
    Dim display As NRectangle
    Dim textSize As NSize
    Dim imageSize As NSize
    Dim useCombined As System.Boolean
    Dim space As System.Integer
    Dim value As NRectangle
     
    value = instance.GetTextBounds(item, rtl, availableBounds, combined, display, textSize, imageSize, useCombined, space)
    protected virtual NRectangle GetTextBounds( 
       NImageAndTextItem item,
       System.Windows.Forms.RightToLeft rtl,
       NRectangle availableBounds,
       NRectangle combined,
       NRectangle display,
       NSize textSize,
       NSize imageSize,
       System.bool useCombined,
       System.int space
    )

    Parameters

    item
    rtl
    availableBounds
    combined
    display
    textSize
    imageSize
    useCombined
    space
    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