Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also