Saves one or more pages of a RasterImage to a remote URL in any of the supported compressed or uncompressed formats asynchronously.
public void SaveAsync(
RasterImage image,
System.Uri uri,
RasterImageFormat format,
int bitsPerPixel,
int firstPage,
int lastPage,
object userState
)
Public Sub SaveAsync(
ByVal image As RasterImage,
ByVal uri As System.Uri,
ByVal format As RasterImageFormat,
ByVal bitsPerPixel As Integer,
ByVal firstPage As Integer,
ByVal lastPage As Integer,
ByVal userState As Object
)
public:
void SaveAsync(
RasterImage^ image,
System::Uri^ uri,
RasterImageFormat^ format,
int bitsPerPixel,
int firstPage,
int lastPage,
Object^ userState
)
image
The RasterImage object that holds the image data.
uri
The System.Uri containing the output URL name.
format
The output file format. For valid values,
Summary of All Supported Image File Formats.
bitsPerPixel
Resulting file's pixel depth. Note that not all bits per pixel are
available to all file formats. For valid values, refer to Summary of All Supported Image File Formats. If
bitsPerPixel is 0, the image will be stored using the closest bits/pixel value supported by that format. For example, if a file format supports 1, 4, and 24 bits/pixel, and RasterImage.BitsPerPixel is 5, the file will be stored as 24 bit. Likewise, if RasterImage.BitsPerPixel is 2, the file will be stored as 4 bit.
firstPage
1-based index of the first page in image to save.
lastPage
1-based index of the last page in image to save. Pass -1 to save from
firstPage to the last page in image.
userState
A user-defined object that is passed to the method invoked when the asynchronous operation completes.
The SaveAsyncCompleted event will occur when the RasterCodecs finishes saving the image.
For general information on saving images using RasterCodecs, refer to Save.
Products |
Support |
Feedback: SaveAsync(RasterImage,Uri,RasterImageFormat,int,int,int,object) Method (RasterCodecs) - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.