TlaEncoder.Save Method (Stream, AtalaImage, ProgressEventHandler) |
Namespace:
Atalasoft.Imaging.Codec
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic override long Save(
Stream stream,
AtalaImage image,
ProgressEventHandler progress
)
Public Overrides Function Save (
stream As Stream,
image As AtalaImage,
progress As ProgressEventHandler
) As Long
Parameters
- stream
- Type: System.IO.Stream
A stream that the encoded image data will be saved to. - image
- Type: Atalasoft.Imaging.AtalaImage
The AtalaImage to encode. - progress
- Type: Atalasoft.Imaging.ProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).
Return Value
Type:
Int64 The number of bytes written to the file.
RemarksThis method currently uses obsolete property
Password for saving. If password for saving is nesessary then please use Save method with password as a parameter.
If obsolete property Password is not set then empty password is used (i.e. no encryption).
See Also