LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
MaximumConventionalSize Property
See Also 
Leadtools Namespace > RasterMemoryThreshold Structure : MaximumConventionalSize Property



Gets or sets a value that specifies the maximum size for a conventional image (default is 0x7FFFFFFF).

Syntax

Visual Basic (Declaration) 
Public Property MaximumConventionalSize As Long
Visual Basic (Usage)Copy Code
Dim instance As RasterMemoryThreshold
Dim value As Long
 
instance.MaximumConventionalSize = value
 
value = instance.MaximumConventionalSize
C# 
public long MaximumConventionalSize {get; set;}
C++/CLI 
public:
property int64 MaximumConventionalSize {
   int64 get();
   void set (    int64 value);
}

Property Value

An integer value that specifies the maximum size for a conventional image (default is 0x7FFFFFFF).

Example

For an example, refer to RasterDefaults.

Remarks

Any images with a size bigger than this will be allocated as tiled.

If the MaximumConventionalSize value is > 0, then it represents the maximum size in bytes.

If the MaximumConventionalSize value is < 0, then it represents the maximum size in percentage of the total memory (physical and swap).

Values less than –100 are not allowed.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also