TextWatermark Constructor |
Initializes a new instance of the
TextWatermark class with a specified text and a font.
Namespace: GroupDocs.Watermark.WatermarksAssembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntaxpublic TextWatermark(
string text,
Font font
)
Public Sub New (
text As String,
font As Font
)
public:
TextWatermark(
String^ text,
Font^ font
)
new :
text : string *
font : Font -> TextWatermark
Parameters
- text
- Type: SystemString
The text to be used as watermark. - font
- Type: GroupDocs.Watermark.WatermarksFont
The font of the text.
See Also