Click or drag to resize

Workspace Methods

The Workspace type exposes the following members.

Methods
  NameDescription
Public methodCode exampleApplyCommand(ImageCommand)
Applies an ImageCommand to the current image in order to process it.
Public methodApplyCommand(ImageCommand, String)
Creates an undo level, then applies an ImageCommand to the current image in order to process it.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Cleans up all resources held by this Workspace including all images in the ImageCollection and undos in the UndoCollection.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Workspace class.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnDisposeImage
Invoked when pixel data in the current image changes without setting a new image. Fires the DisposeImage event.
Protected methodOnImageChanged
Raises the [E:ImageChanged] event.
Protected methodOnImageStreamCompleted
Invoked after an image has been read or saved signifying that the Stream which was passed in can be closed. Fires the ImageStreamCompleted event.
Protected methodOnNewImage
Protected methodOnProcessCompleted
Invoked when an asynchronous process has completed. Fires the ProcessCompleted event.
Protected methodOnProcessError
Invoked when an error occurs in a separate thread when being processed asynchronously. Fires the ProcessError event.
Public methodOpen(Stream)
Decodes an image from a stream and sets it to the current image.
Public methodOpen(String)
Decodes an image from a file and sets it to the current image.
Public methodOpen(Stream, Int32)
Decodes an image from a stream specifying the frame index of a multipaged file, and sets it to the current image.
Public methodOpen(String, Int32)
Decodes an image from a file specifying the frame index of a multipaged file, and sets it to the current image.
Public methodSave(Stream, ImageEncoder)
Writes the current AtalaImage or ImageCollection to a stream specifying the ImageEncoder to use to encode the image.
Public methodSave(String, ImageEncoder)
Writes the current AtalaImage or ImageCollection to a file specifying the ImageEncoder to use to encode the image.
Public methodSave(String, ImageType) Obsolete.
Writes the current AtalaImage or ImageCollection to a file specifying the ImageType to use to encode the image.
Public methodSave(Stream, ImageEncoder, Int32)
Writes the current AtalaImage or ImageCollection to a stream specifying the ImageEncoder to use to encode the image and the image index in the collection to save.
Public methodSave(String, ImageEncoder, Int32)
Writes the current %AtalaImage% or %ImageCollection% to a file specifying the ImageEncoder to use to encode the image and the image index in the collection to save.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also