Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RasterMemoryFlags Enumeration
See Also  
Leadtools Namespace : RasterMemoryFlags Enumeration




Indicates the type of memory to allocate

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum RasterMemoryFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As RasterMemoryFlags
C# 
[FlagsAttribute()]
public enum RasterMemoryFlags : Enum 
Managed Extensions for C++ 
[FlagsAttribute()]
__value public enum RasterMemoryFlags : public Enum 
C++/CLI 
[FlagsAttribute()]
public enum class RasterMemoryFlags : public Enum 

Members

MemberDescription
None No flags.
Conventional Use conventional memory.
UserCreate 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.

Remarks

For more information, refer to Memory Storage Types for Images.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterMemoryFlags

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also