Skip to main content

Watermark.RestoreFromStream(Stream) Method

Loads a watermark’s settings from the specified stream.

Namespace: DevExpress.XtraPrinting.Drawing

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

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

Declaration

public void RestoreFromStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object from which the watermark’s settings are read.

Remarks

A watermark’s settings can be saved to a data store via the Watermark.SaveToStream method. Use the RestoreFromStream method to restore the watermark.

See Also