---
title: "Device-2.StrokeText"
url: "https://reference.aspose.com/svg/net/aspose.svg.rendering/device-2/stroketext/"
product: "Aspose.SVG for .NET API Reference"
description: "Device StrokeText method. Strokes the specified text string at the specified location"
---

## Device<TGraphicContext,TRenderingOptions>.StrokeText method

Strokes the specified text string at the specified location.

```csharp
public virtual void StrokeText(string text, PointF pt)
```

| Parameter | Type | Description |
| --- | --- | --- |
| text | String | String to stroke. |
| pt | PointF | Point that specifies the coordinates where to start the text. |

### See Also

* class [Device&lt;TGraphicContext,TRenderingOptions&gt;](../)
* namespace [Aspose.Svg.Rendering](../../../aspose.svg.rendering/)
* assembly [Aspose.SVG](../../../)
