Leadtools Namespace : RasterMemoryFlags Enumeration |
[FlagsAttribute()] public enum RasterMemoryFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <FlagsAttribute()> Public Enum RasterMemoryFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As RasterMemoryFlags
[FlagsAttribute()] public enum RasterMemoryFlags : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.RasterMemoryFlags = function() { }; Leadtools.RasterMemoryFlags.prototype = {
None = 0x0000, Conventional = 0x0001, User = 0x0002, Tiled = 0x0004, NoTiled = 0x0008, Disk = 0x0080, NoDisk = 0x0100, Compressed = 0x0200, SuperCompressed = 0x0400, WriteableBitmap = 0x0800, };
[FlagsAttribute()] public enum class RasterMemoryFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x0000 | None | No flags. |
0x0001 | Conventional | Use conventional memory. |
0x0002 | User | Creates an image where the user maintains the data pointer.
Some image processing commands, such as Leadtools.ImageProcessing.RotateCommand and Leadtools.ImageProcessing.ColorResolutionCommand, need to re-allocate the image data. If you create a bitmap with RasterMemoryFlags.User, and pass it to these command, they will change the bitmap to RasterMemoryFlags.Conventional and re-allocate memory. Your original memory will no longer be used. |
0x0004 | Tiled | Creates an image where the data pointers are maintained in tiles, useful for very large images. |
0x0008 | NoTiled | Do not allow tiled images. |
0x0080 | Disk | Do not use managed memory. Swap to disk only. If the image is allocated as Disk, then the image should not be used in multiple threads. |
0x0100 | NoDisk | Do not swap to disk using LEAD virtual memory. Windows virtual memory is not affected. |
0x0200 | Compressed | (Document/Medical only) Allocate an RLE-compressed image. You can use this flag with None or NoDisk. For more information, refer to Speeding Up 1-Bit Documents. |
0x0400 | SuperCompressed | (Document/Medical only) Allocate a CMP-compressed image. You can use this flag with None or NoDisk. The compression used for 24-bit and 8-bit images is lossy, which means multiple changes to the image can produce some visual loss. |
0x0800 | WriteableBitmap | (Document/Medical only) Use a Silverlight WriteableBitmap for memory storage. This option works only for 32-bit images.. |
System.Object
System.ValueType
System.Enum
Leadtools.RasterMemoryFlags