Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
NoDiskMemory Property
See Also 
Leadtools.Codecs Namespace > CodecsLoadOptions Class : NoDiskMemory Property




Gets or sets a value indictaing whether to allow disk memory when loading an image.

Syntax

Visual Basic (Declaration) 
Public Property NoDiskMemory As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsLoadOptions
Dim value As Boolean
 
instance.NoDiskMemory = value
 
value = instance.NoDiskMemory
C# 
public bool NoDiskMemory {get; set;}
Managed Extensions for C++ 
public: __property bool get_NoDiskMemory();
public: __property void set_NoDiskMemory( 
   bool value
);
C++/CLI 
public:
property bool NoDiskMemory {
   bool get();
   void set (bool value);
}

Return Value

true to prevent loading the image using disk memory; false otherwise.

Example

For an example on changing the default load memory mode, refer to DiskMemory.

Remarks

When using tiled memory, the image data is stored in disk and not in conventional memory. Setting the value of this property to true will prevent the image from being created in disk.

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