ImageMemory Class |
Note: This API is now obsolete.
This class handles memory associated with an image. It controls how the memory is allocated and freed. Use this class to enable memory file mapping.
This class is no longer used in DotImage. Please use PixelMemory instead.
Namespace: Atalasoft.Imaging
The ImageMemory type exposes the following members.
Name | Description | |
---|---|---|
ImageMemory | Obsolete.
Initializes a new instance of the ImageMemory class.
| |
ImageMemory(Int32) | Obsolete. Initializes a new instance of ImageMemory indicating the number of bytes to allocate. | |
ImageMemory(IntPtr) | Obsolete. Initializes a new instance of ImageMemory setting the pre allocated memory pointer. | |
ImageMemory(Int32, Boolean) | Obsolete. Initializes a new instance of ImageMemory indicating the number of bytes to allocate and if this object should handle the freeing of that memory. | |
ImageMemory(IntPtr, Boolean) | Obsolete. Initializes a new instance of ImageMemory setting the pre allocated memory pointer and if this object should handle the freeing of that memory. |
Name | Description | |
---|---|---|
EnableMemoryFileMapping | Obsolete. File mapping is no longer supported. This property will throw on set. | |
FileMapped | Obsolete. File mapping is no longer supported. | |
Handle | Gets the pointer to the memory handled by this object. | |
MemoryMapTempPath | Obsolete. File mapping is no longer supported. This property will throw on set. | |
MemoryMapThreshold | Obsolete. File mapping is no longer supported. This property will throw on set. | |
PreventDispose | Gets or sets a value indicating if the memory should be freed when disposing. |
Name | Description | |
---|---|---|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Dispose | Releases all resources used by the ImageMemory | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the ImageMemory class.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |