Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum RasterMemoryFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum RasterMemoryFlags : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class RasterMemoryFlags : public Enum |
Member | Description |
---|---|
None | No flags. |
Conventional | Use conventional memory. |
User | Create 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. |
Tiled | Create an image where the data pointers are maintained in tiles, useful for very large images. |
NoTiled | Do not allow tiled images. |
Disk | Do not use managed memory. Swap to disk only. |
NoDisk | Do not swap to disk using LEAD virtual memory. Windows virtual memory is not affected. |
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. |
SuperCompressed | (Document/Medical only) Allocate a CMP-compressed image. You can use this flag with None or NoDisk. |
For more information, refer to Memory Storage Types for Images.
System.Object
System.ValueType
System.Enum
Leadtools.RasterMemoryFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family