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



Gets or sets a value that determine whether this RasterCodecs object should load the image entirely before resizing.

Syntax

Visual Basic (Declaration) 
Public Property LoadThenResize As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim value As Boolean
 
instance.LoadThenResize = value
 
value = instance.LoadThenResize
C# 
public bool LoadThenResize {get; set;}
C++/CLI 
public:
property bool LoadThenResize {
   bool get();
   void set (    bool value);
}

Property Value

true to load the image entirely before resizing, false, otherwise. The default value is false.

Remarks

Note: The restriction on using portions of LEADTOOLS inside ASP.NET applications has been removed starting with LEADTOOLS 16.5.

The RasterCodecs object has the following methods that allows you to resize an image while it is being loaded:

This method works by resizing the image while it is being loaded using an internal thread. To disable this behavior, you can set the value of the LoadThenResize property to true to completely load an image before resizing it.

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