Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
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;}
public boolean getUseNativeLoad() public void setUseNativeLoad(boolean value)
<br/>get_UseNativeLoad();<br/>set_UseNativeLoad(value);<br/>Object.defineProperty('UseNativeLoad');
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.