UtilAsposeAddTextWatermark(Image, String, Font, Color, PointF) Method

Adds a text watermark at the specified position into an image.

Definition

Namespace: DevCase.ThirdParty.Aspose
Assembly: DevCase.net48.ThirdParty.Aspose (in DevCase.net48.ThirdParty.Aspose.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Image AddTextWatermark(
	Image img,
	string text,
	Font fnt,
	Color color,
	PointF position
)

Parameters

img  Image
The source image.
text  String
The watermark text.
fnt  Font
The watermark font.
color  Color
The watermark color.
position  PointF
The watermark position.

Return Value

Image
The resulting Image.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Aspose.Imaging by Aspose

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also