AtalaImage.Save Method (String, ImageType, ProgressEventHandler) |
Note: This API is now obsolete.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax[ObsoleteAttribute("The ImageType enumeration has been deprecated. Use the Save overload that takes an ImageEncoder instead.",
false)]
public long Save(
string fileName,
ImageType type,
ProgressEventHandler progress
)
<ObsoleteAttribute("The ImageType enumeration has been deprecated. Use the Save overload that takes an ImageEncoder instead.",
false)>
Public Function Save (
fileName As String,
type As ImageType,
progress As ProgressEventHandler
) As Long
Parameters
- fileName
- Type: System.String
The filename to save this %AtalaImage% to. - type
- Type: Atalasoft.Imaging.Codec.ImageType
The image type to save this image as. - progress
- Type: Atalasoft.Imaging.ProgressEventHandler
The progress delegate. Can be set to null (Nothing in
VB).
Return Value
Type:
Int64The number of bytes saved to the file.
RemarksTo specify encoder settings, use the overload containing the ImageEncoder parameter.
This method can be used to save an image to an FTP server. If the fileName is pointing to an FTP
server, you may need to include the username and password in the URL to allow the file to be saved.
Examples Save Method
See Also