Method ApplyWatermark
ApplyWatermark(Watermark)
Burns a visible watermark into this picture's pixels, in place. Apply it
to the output size (after any resize), so the mark is drawn crisp at the resolution the
reader receives.
public void ApplyWatermark(Watermark watermark)
Parameters
watermarkWatermarkWhat to draw and where.
Exceptions
- ArgumentNullException
watermarkis null.- ArgumentException
The watermark has neither text nor logo, its text is too long, or its font is not a font.
- NotSupportedException
The picture is one-bit (convert it to GRAY8 first).
- WatermarkCharactersException
The text holds characters no available font can draw (listed on the exception).
- ObjectDisposedException
This instance, or the watermark's logo, has been disposed.