LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RasterMemoryFlags Enumeration
See Also  
Leadtools Namespace : RasterMemoryFlags Enumeration



Indicates the type of memory to allocate. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum RasterMemoryFlags 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterMemoryFlags
C# 
[FlagsAttribute()]
public enum RasterMemoryFlags : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class RasterMemoryFlags : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
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. This is currently not supported by LEADTOOLS for Silverlight.
ConventionalUse conventional memory.
DiskDo not use managed memory. Swap to disk only. This is currently not supported by LEADTOOLS for Silverlight.
NoDiskDo not swap to disk using LEAD virtual memory. Windows virtual memory is not affected.
NoneNo flags.
NoTiledDo not allow tiled images.
SuperCompressed(Document/Medical only) Allocate a CMP-compressed image. You can use this flag with None or NoDisk. This is currently not supported by LEADTOOLS for Silverlight.
TiledCreate an image where the data pointers are maintained in tiles, useful for very large images. This is currently not supported by LEADTOOLS for Silverlight.
User

Create an image where the user maintains the data pointer.

Some image processing commands, such as Leadtools.ImageProcessing.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.

WriteableBitmap(Document/Medical only) Use a Silverlight WriteableBitmap for memory storage.
This option works only for 32-bit images.
This is supported only in LEADTOOLS for Silverlight.
.

Remarks

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

Inheritance Hierarchy

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

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also