Back to Devexpress

Watermark.SaveToStream(Stream) Method

corelibraries-devexpress-dot-xtraprinting-dot-drawing-dot-watermark-dot-savetostream-x28-system-dot-io-dot-stream-x29.md

latest1.9 KB
Original Source

Watermark.SaveToStream(Stream) Method

Saves the current watermark to the specified stream.

Namespace : DevExpress.XtraPrinting.Drawing

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public void SaveToStream(
    Stream stream
)
vb
Public Sub SaveToStream(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

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

RestoreFromStream(Stream)

SaveToXml(String)

RestoreFromXml(String)

Watermark Class

Watermark Members

DevExpress.XtraPrinting.Drawing Namespace