[]
        
(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)
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)
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.