TextWatermarkOptions.IsSemitrasparent
TextWatermarkOptions IsSemitrasparent property. Gets or sets a boolean value which is responsible for opacity of the watermark. The default value is true.
TextWatermarkOptions.IsSemitrasparent property
Gets or sets a boolean value which is responsible for opacity of the watermark. The default value is true
.
public bool IsSemitrasparent { get; set; }
Examples
Shows how to add text watermark in the document with custom text watermark options.
TextWatermarkOptions textWatermarkOptions = new TextWatermarkOptions();
textWatermarkOptions.FontFamily = "Arial";
textWatermarkOptions.FontSize = 48;
textWatermarkOptions.IsSemitrasparent = false;
textWatermarkOptions.Color = Color.Red;
textWatermarkOptions.Layout = WatermarkLayout.Horizontal;
Watermarker.SetText(MyDir + "Simple.docx", ArtifactsDir + "Watermarker.SetText.pdf", "Wordize", textWatermarkOptions);
See Also
- class TextWatermarkOptions
- namespace Wordize.Watermarking
- assembly Wordize