[]
Draw text string into this document in next position.
public void DrawString(string text, RectangleF rc)
Public Sub DrawString(text As String, rc As RectangleF)
| 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)
Public Function DrawString(text As String, font As Font, clr As Color, rc As RectangleF) As Integer
| 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)
Public Function DrawString(text As String, font As Font, color As Color, rc As RectangleF, sf As StringFormat) As Integer
| 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)
Public Function DrawString(text As String, font As Font, color As Color, pt As PointF) As Integer
| 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. |