InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Framework.Html Namespace / HtmlRenderer Class / Layout Method / Layout(IntPtr,String,Font,Brush,Single,Boolean) Method
The graphics device context handler.
The text for create or update in the HTML element.
The font of the text.
The text brush.
The width in points.
The right-to-left layout.

In This Topic
    Layout(IntPtr,String,Font,Brush,Single,Boolean) Method
    In This Topic
    Create or update this HtmlElement with the provided info.
    Syntax
    'Declaration
     
    Public Overloads Sub Layout( _
       ByVal hdc As IntPtr, _
       ByVal text As String, _
       ByVal font As Font, _
       ByVal brush As Brush, _
       ByVal width As Single, _
       Optional ByVal rtl As Boolean _
    ) 
    public void Layout( 
       IntPtr hdc,
       string text,
       Font font,
       Brush brush,
       float width,
       bool rtl
    )

    Parameters

    hdc
    The graphics device context handler.
    text
    The text for create or update in the HTML element.
    font
    The font of the text.
    brush
    The text brush.
    width
    The width in points.
    rtl
    The right-to-left layout.
    See Also