LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
StoreDataInImage Property
See Also 
Leadtools.Codecs Namespace > CodecsLoadOptions Class : StoreDataInImage Property



Enables or disables the automatic storage of the image data into the Leadtools.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);
}

Property Value

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

Example

For an example, refer to CodecsLoadOptions.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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also