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



Indicates whether or not to use a Silverlight WriteableBitmap object for storing the image data.

Syntax

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

Property Value

true to use a Silverlight WriteableBitmap object for storing the image data; false otherwise.

Remarks

This property is only supported in Silverlght versions of LEADTOOLS.

Setting this property to true can speed up image loading, image processing and image display by using a Silverlight WriteableBitmap object for storing the image data.

Setting this property to true will force the image data to be loaded as 32-bit, and will ignore the bitsPerPixel parameter passed to RasterCodecs.Load.

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