Ribbon for WinForms | ComponentOne
C1.Framework.Html Namespace / HtmlRenderer Class / LayoutInPixels Method
The text for create or update in the HTML element.
The font of the text.
The text brush.
The width in pixels.

In This Topic
    LayoutInPixels Method (HtmlRenderer)
    In This Topic
    Create or update this HtmlElement with the provided info.
    Syntax
    'Declaration
     
    
    Public Sub LayoutInPixels( _
       ByVal text As String, _
       ByVal font As Font, _
       ByVal brush As Brush, _
       ByVal width As Integer _
    ) 
    public void LayoutInPixels( 
       string text,
       Font font,
       Brush brush,
       int width
    )

    Parameters

    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 pixels.
    See Also