[]
        
(Showing Draft Content)

C1.Framework.Html.HtmlRenderer.Layout

Layout Method

Layout(string, Font, Brush, float)

Create or update this HtmlElement with the provided info.

Declaration
public void Layout(string text, Font font, Brush brush, float width)
Public Sub Layout(text As String, font As Font, brush As Brush, width As Single)
Parameters
Type Name Description
string text

The text for create or update in the HTML element.

Font font

The font of the text.

Brush brush

The text brush.

float width

The width in points.

Layout(IntPtr, string, Font, Brush, float, bool)

Create or update this HtmlElement with the provided info.

Declaration
public void Layout(IntPtr hdc, string text, Font font, Brush brush, float width, bool rtl = false)
Public Sub Layout(hdc As IntPtr, text As String, font As Font, brush As Brush, width As Single, Optional rtl As Boolean = False)
Parameters
Type Name Description
IntPtr hdc

The graphics device context handler.

string text

The text for create or update in the HTML element.

Font font

The font of the text.

Brush brush

The text brush.

float width

The width in points.

bool rtl

The right-to-left layout.