Skip to main content

Watermark.RestoreFromStream(Stream) Method

Loads a watermark’s settings from the specified stream.

Namespace: DevExpress.XtraPrinting.Drawing

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

NuGet Package: DevExpress.Printing.Core

#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