Aurigma Graphics Mill 5.5 for .NET
AviWatermark..::.DrawnWatermark Event
Fires for each frame added to the writer object after all standard watermarks are drawn.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
Syntax
Visual Basic
Protected Event DrawnWatermark As AviDrawWatermarkEventHandler
C#
protected event AviDrawWatermarkEventHandler DrawnWatermark
Remarks
Use this event if you want to display watermark in more advanced way than allowed by the bitmap and timer watermarks. For example, it may be useful when you want your watermark to depend on the timing information. A typical example - when you need to display the watermark only first several seconds (similar to musical clips).
In this event you get current frame image in the Bitmap argument passed to the event handler. When you draw something on it or change it anyhow else, all changes are applied when the file is added to AVI file. However if you modify the bitmap using direct access to pixels, do not forget to set the Modified property to true. Otherwise your changes may be ignored.