Leadtools.Codecs Namespace > CodecsLoadOptions Class : UseNativeLoad Property |
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);
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.
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