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

See Also