Visual Basic |
---|
Public Sub SaveImage( _ ByVal Image As DicomImage, _ ByVal Destination As Variant, _ ByVal isPart10 As Boolean, _ Optional ByVal TransferSyntax As Variant, _ Optional ByVal Quality As Variant _ ) |
Destination must one of the following types of Variant:
A String The image is saved to the filename given
An object supporting IStream The image is saved to the stream (as for WriteStream)
An ADO, DAO or RDO field object The image is saved to the field (as for WriteField)
This method differs from the other DicomConnection methods in that it makes no use of an association. It is, nonetheless, included here, as it uses the same model of asynchronous operation, with completion being signaled via the ActionComplete event.
This method is designed for use by multi-tasking servers, preventing the delays to other requests that could otherwise be caused by the processing of a storage request.