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

UseNativeLoad Property






Indicates whether or not to use the native image load capabilities of Silverlight. .NET support WinRT support Silverlight support
Syntax
public bool UseNativeLoad {get; set;}
'Declaration
 
Public Property UseNativeLoad As Boolean
'Usage
 
Dim instance As CodecsLoadOptions
Dim value As Boolean
 
instance.UseNativeLoad = value
 
value = instance.UseNativeLoad
public bool UseNativeLoad {get; set;}
 get_UseNativeLoad();
set_UseNativeLoad(value);
public:
property bool UseNativeLoad {
   bool get();
   void set (    bool value);
}

Property Value

true to use the native image load capabilities of Silverlight; false otherwise.
Remarks

NOTE: This property is only supported in Silverlight versions of LEADTOOLS.

When using this property, if the input image is of a format that is supported natively by Silverlight, then LEADTOOLS will use the native image load capabilities to decode the data.

Setting this property to true will speed up image load times for natively supported file formats.

If the input file is not a format natively supported by Silverlight, then the LEADTOOLS codecs will decode the file.

When this property is true and the file is a format natively supported by Silverlight, the resulting image data will be stored in a Silverlight WriteableBitmap. For more information, see CodecsLoadOptions.UseWriteableBitmap and RasterImage.IsGlobalMemory.

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
CodecsLoadOptions.UseWriteableBitmap

 

 


Products | Support | Contact Us | Copyright Notices

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