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




Enables or disables the automatic storage of the image data into the RasterImage during a file load process.

Syntax

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

Return Value

true to have Leadtools store the loaded image data into the RasterImage, false to disable it.

Example

For an example, refer to AllocateImage.

Remarks

If you do not allow Leadtools to allocate the memory for the storage of the image data, then you should process the data manually using the RasterCodecs.LoadImage event.

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