Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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 Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterMemoryThreshold
Dim value As Integer
 
instance.MaximumConventionalSize = value
 
value = instance.MaximumConventionalSize
C# 
public int MaximumConventionalSize {get; set;}
Managed Extensions for C++ 
public: __property int get_MaximumConventionalSize();
public: __property void set_MaximumConventionalSize( 
   int value
);
C++/CLI 
public:
property int MaximumConventionalSize {
   int get();
   void set (int 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also