Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RasterDefaults Class
See Also  Members  
Leadtools Namespace : RasterDefaults Class




Specifes the default extra values used when creating RasterImage objects.

Object Model


Syntax

Visual Basic (Declaration) 
Public MustInherit NotInheritable Class RasterDefaults 
Visual Basic (Usage)Copy Code
Dim instance As RasterDefaults
C# 
public static class RasterDefaults 
Managed Extensions for C++ 
public __gc abstract __sealed class RasterDefaults 
C++/CLI 
public ref class RasterDefaults abstract sealed 

Remarks

You can use the RasterDefaults class to specify extra attributes used when createing a RasterImage object

For example, you can use XResolution and YResolution to set the physical resolution (DPI) of all the RasterImage objects creates afterwards.

You can use DitheringMethod to specifies the default dithering method to use when converting an image from 64, 48, 32, 24, or 16 bits per pixel to 8 bits per pixel or fewer.

The MemoryFlags and MemoryThreshold controls how newly created images use the system memory. The TemporaryDirectory controls where disk-based images are stored.

Inheritance Hierarchy

System.Object
   Leadtools.RasterDefaults

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