[]
public int DrawStringHtml(string text, Font font, Brush brush, RectangleF rc)
Type | Name | Description |
---|---|---|
string | text | HTML string to draw. |
Font | font | Font object that defines the appearance and size of the drawn text. |
Brush | brush | Brush object that defines the color of the drawn text. |
RectangleF | rc | RectangleF structure that specifies the location of the drawn text, in points from the top left corner of the page. |
Type | Description |
---|---|
int | The offset of the first line that was not printed because it did not fit in the specified rectangle, or the value of MaxValue if the entire string was rendered. |
Draws an HTML string in the specified rectangle with the specified Brush and Font objects, starting at a given offset within the string.
public int DrawStringHtml(string text, Font font, Brush brush, RectangleF rc, int offset)
Type | Name | Description |
---|---|---|
string | text | HTML string to draw. |
Font | font | Font object that defines the appearance and size of the drawn text. |
Brush | brush | Brush object that defines the color of the drawn text. |
RectangleF | rc | RectangleF structure that specifies the location of the drawn text, in points from the top left corner of the page. |
int | offset | Offset of the first line to draw (usually the return value of a previous call to DrawStringHtml). |
Type | Description |
---|---|
int | The offset of the first line that was not printed because it did not fit in the specified rectangle, or the value of MaxValue if the entire string was rendered. |