Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using (Converter converter = new Converter("sample.docx"))
WatermarkOptions watermark = new WatermarkOptions
Text = "Sample watermark",
Color = Color.Red,
Width = 100,
Height = 100,
Background = true
PdfConvertOptions options = new PdfConvertOptions
Watermark = watermark
converter.Convert("converted.pdf", options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.