Watermark.SaveToStream(Stream) Method

Saves the current watermark to the specified stream.

Namespace: DevExpress.XtraPrinting.Drawing

Assembly: DevExpress.Printing.v21.2.Core.dll


public void SaveToStream(
    Stream stream


Name Type Description
stream Stream

A Stream descendant to which the watermark is written.


The SaveToStream method saves the watermark (the values of all the Watermark‘s properties) to the specified stream. The saved settings can then be restored from storage using the Watermark.RestoreFromStream method.

See Also