## DrawString(string, Font, Brush, RectangleF) {#drawstring_4}

指定されたテキスト文字列を、指定された長方形内に指定された色で描画します。Brush とFont指定された書式設定属性を使用するオブジェクトStringFormat.

```csharp
public void DrawString(string s, Font font, Brush brush, RectangleF layoutRectangle)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| s | String | 描画する文字列。 |
| font | Font | Font文字列のテキスト形式を定義します。 |
| brush | Brush | Brush描画されるテキストの色とテクスチャを決定します。 |
| layoutRectangle | RectangleF | RectangleF描画されたテキストに適用される描画された text の場所を指定する構造体。 |

### 関連項目

* class [Font](../../font/)
* class [Brush](../../brush/)
* struct [RectangleF](../../rectanglef/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)

---

## DrawString(string, Font, Brush, PointF) {#drawstring_2}

指定した位置に指定した文字列を指定した文字列で描画します。Brush とFontオブジェクト.

```csharp
public void DrawString(string s, Font font, Brush brush, PointF point)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| s | String | 描画する文字列。 |
| font | Font | Font文字列のテキスト形式を定義します。 |
| brush | Brush | Brush描画されるテキストの色とテクスチャを決定します。 |
| point | PointF | PointF描画されるテキストの左上隅を指定する構造体。 |

### 関連項目

* class [Font](../../font/)
* class [Brush](../../brush/)
* struct [PointF](../../pointf/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)

---

## DrawString(string, Font, Brush, PointF, StringFormat) {#drawstring_3}

指定した位置に指定した文字列を指定した文字列で描画します。Brushand Font指定された書式設定属性を使用するオブジェクトStringFormat.

```csharp
public void DrawString(string s, Font font, Brush brush, PointF point, StringFormat format)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| s | String | 描画する文字列。 |
| font | Font | Font文字列のテキスト形式を定義します。 |
| brush | Brush | Brush描画されるテキストの色とテクスチャを決定します。 |
| point | PointF | PointF描画されるテキストの左上隅を指定する構造体。 |
| format | StringFormat | StringFormatこれは、描画されたテキストに適用される行間や配置などの書式属性 を指定します。 |

### 関連項目

* class [Font](../../font/)
* class [Brush](../../brush/)
* struct [PointF](../../pointf/)
* class [StringFormat](../../stringformat/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)

---

## DrawString(string, Font, Brush, float, float, StringFormat) {#drawstring_1}

指定した位置に指定した文字列を指定した文字列で描画します。Brushand Font指定された書式設定属性を使用するオブジェクトStringFormat.

```csharp
public void DrawString(string s, Font font, Brush brush, float x, float y, StringFormat format)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| s | String | 描画する文字列。 |
| font | Font | Font文字列のテキスト形式を定義します。 |
| brush | Brush | Brush描画されるテキストの色とテクスチャを決定します。 |
| x | Single | 描画されたテキストの左上隅の x 座標。 |
| y | Single | 描画されたテキストの左上隅の y 座標。 |
| format | StringFormat | StringFormatこれは、描画されたテキストに適用される行間や配置などの書式属性 を指定します。 |

### 関連項目

* class [Font](../../font/)
* class [Brush](../../brush/)
* class [StringFormat](../../stringformat/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)

---

## DrawString(string, Font, Brush, float, float) {#drawstring}

指定した位置に指定した文字列を指定した文字列で描画します。BrushとFontオブジェクト.

```csharp
public void DrawString(string s, Font font, Brush brush, float x, float y)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| s | String | 描画する文字列。 |
| font | Font | Font文字列のテキスト形式を定義します。 |
| brush | Brush | Brush描画されるテキストの色とテクスチャを決定します。 |
| x | Single | 描画されたテキストの左上隅の x 座標。 |
| y | Single | 描画されたテキストの左上隅の y 座標。 |

### 関連項目

* class [Font](../../font/)
* class [Brush](../../brush/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)

---

## DrawString(string, Font, Brush, RectangleF, StringFormat) {#drawstring_5}

指定されたテキスト文字列を、指定された長方形内に指定された色で描画します。Brush とFont指定された書式設定属性を使用するオブジェクトStringFormat.

```csharp
public void DrawString(string s, Font font, Brush brush, RectangleF layoutRectangle, 
    StringFormat format)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| s | String | 描画する文字列。 |
| font | Font | Font文字列のテキスト形式を定義します。 |
| brush | Brush | Brush描画されるテキストの色とテクスチャを決定します。 |
| layoutRectangle | RectangleF | RectangleF描画されるテキストの位置を指定する構造体。 |
| format | StringFormat | StringFormatこれは、描画されたテキストに適用される行間隔や配置などの書式設定属性を指定します 。 |

### 関連項目

* class [Font](../../font/)
* class [Brush](../../brush/)
* struct [RectangleF](../../rectanglef/)
* class [StringFormat](../../stringformat/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)


