[]
Draw text string into this document in next position.
public void DrawString(string text, RectangleF rc)
Type | Name | Description |
---|---|---|
string | text | The text string of the paragraph. |
RectangleF | rc | The drawing rectangle. |
Draw text string into this document in next position.
public int DrawString(string text, Font font, Color clr, RectangleF rc)
Type | Name | Description |
---|---|---|
string | text | The text string of the paragraph. |
Font | font | The drawing font. |
Color | clr | The drawing color. |
RectangleF | rc | The drawing rectangle. |
Type | Description |
---|---|
int | The index of first character that was not printed because it did not fit in the specified rectangle. |
Draw text string into this document in next position.
public int DrawString(string text, Font font, Color color, RectangleF rc, StringFormat sf)
Type | Name | Description |
---|---|---|
string | text | The text string of the paragraph. |
Font | font | Font object that defines the appearance and size of the drawn text. |
Color | color | The object that defines the color of the drawn text. |
RectangleF | rc | The drawing rectangle. |
StringFormat | sf | The drawing string format. |
Type | Description |
---|---|
int | The index of first character that was not printed because it did not fit in the specified rectangle. |
public int DrawString(string text, Font font, Color color, PointF pt)
Type | Name | Description |
---|---|---|
string | text | String to draw. |
Font | font | Font object that defines the appearance and size of the drawn text. |
Color | color | The object that defines the color of the drawn text. |
PointF | pt | The point structure that specifies the location of the drawn text, in points from the top left corner of the page. |
Type | Description |
---|---|
int | The index of first character that was not printed because it did not fit in the specified rectangle. |