Skip to main content

Watermark.SaveToStream(Stream) Method

Saves the current watermark to the specified stream.

Namespace: DevExpress.XtraPrinting.Drawing

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public void SaveToStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream descendant to which the watermark is written.

Remarks

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