MetafileRecorderGraphics2DDrawString Method (String, Font, Color, Int32, Int32, Single)
Draws the string.

Namespace: Aspose.Imaging.FileFormats.Emf.Graphics
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public void DrawString(
	string string,
	Font font,
	Color color,
	int x,
	int y,
	float angle
)

Parameters

string
Type: SystemString
The string.
font
Type: Aspose.ImagingFont
Font that defines the text format of the string.
color
Type: Aspose.ImagingColor
The text color.
x
Type: SystemInt32
The x-coordinate of the upper-left corner of the drawn text.
y
Type: SystemInt32
The y-coordinate of the upper-left corner of the drawn text.
angle
Type: SystemSingle
The angle in degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the base line of a row of text.
See Also