Indicates the type of memory to allocate.
[FlagsAttribute()]
public enum RasterMemoryFlags
<FlagsAttribute()>
Public Enum RasterMemoryFlags
[FlagsAttribute()]
public enum RasterMemoryFlags
typedef NS_OPTIONS(NSUInteger, LTRasterMemoryFlags)
public enum RasterMemoryFlags
Leadtools.RasterMemoryFlags = function() { };
Leadtools.RasterMemoryFlags.prototype = {
None = 0x00000000,
Conventional = 0x00000001,
User = 0x00000002,
Tiled = 0x00000004,
NoTiled = 0x00000008,
Disk = 0x00000080,
NoDisk = 0x00000100,
Compressed = 0x00000200,
SuperCompressed = 0x00000400,
WriteableBitmap = 0x00000800,
};
[FlagsAttribute()]
public enum class RasterMemoryFlags
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | No flags. |
0x00000001 | Conventional | Use conventional memory. |
0x00000002 | User | Creates an image where the user maintains the data pointer. Some image processing commands, such as RotateCommand and 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. |
0x00000004 | Tiled | Creates an image where the data pointers are maintained in tiles, useful for very large images. |
0x00000008 | NoTiled | Do not allow tiled images. |
0x00000080 | 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. |
0x00000100 | NoDisk | Do not swap to disk using LEAD virtual memory. Windows virtual memory is not affected. |
0x00000200 | 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. |
0x00000400 | 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. |
0x00000800 | WriteableBitmap | (Document/Medical only) Use a Silverlight WriteableBitmap for memory storage. This option works only for 32-bit images.. |
For more information, refer to Memory Storage Types for Images. Use only RasterMemoryFlags.Conventional or RasterMemoryFlags.Disk when setting defaults.
Products |
Support |
Feedback: RasterMemoryFlags Enumeration - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
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.