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



Indicates whether or not to use the native image load capabilities of Silverlight.

Syntax

Visual Basic (Declaration) 
Public Property UseNativeLoad As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsLoadOptions
Dim value As Boolean
 
instance.UseNativeLoad = value
 
value = instance.UseNativeLoad
C# 
public bool UseNativeLoad {get; set;}
C++/CLI 
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 Silverlght 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 Leadtools.RasterMemoryFlags. For more information, see CodecsLoadOptions.UseWriteableBitmap.

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