PsdImageAddTextLayer Method
Adds a new Text layer.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.6
Syntax
public TextLayer AddTextLayer(
	string text,
	Rectangle rect
)

Parameters

text
Type: SystemString
The layer's text.
rect
Type: Aspose.PSDRectangle
The layer's rectangle.

Return Value

Type: TextLayer
Created text layer.
See Also