LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

UseWriteableBitmap Property






Indicates whether or not to use a Silverlight WriteableBitmap object for storing the image data. .NET support WinRT support Silverlight support
Syntax
public bool UseWriteableBitmap {get; set;}
'Declaration
 
Public Property UseWriteableBitmap As Boolean
'Usage
 
Dim instance As CodecsLoadOptions
Dim value As Boolean
 
instance.UseWriteableBitmap = value
 
value = instance.UseWriteableBitmap
public bool UseWriteableBitmap {get; set;}
 get_UseWriteableBitmap();
set_UseWriteableBitmap(value);
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 Silverlight 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsLoadOptions Class
CodecsLoadOptions Members
RasterMemoryFlags.WriteableBitmap
RasterImageConverter.ConvertToSource
ConvertToSourceOptions.AutoDetectAlpha
ConvertFromSourceOptions.AutoDetectAlpha
DetectAlphaCommand
CodecsLoadOptions.AutoDetectAlpha
RasterImage.PremultiplyAlpha

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.