Skip to main content
A newer version of this page is available. .

Watermark.SaveToStream(Stream) Method

Saves the current watermark to the specified stream.

Namespace: DevExpress.XtraPrinting.Drawing

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design

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