Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 long MaximumConventionalSize {
   long get();
   void set (long value);
}

Return 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also