Visual Basic (Declaration) | |
---|---|
Public MustInherit NotInheritable Class RasterDefaults |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static class RasterDefaults |
Managed Extensions for C++ | |
---|---|
public __gc abstract __sealed class RasterDefaults |
C++/CLI | |
---|---|
public ref class RasterDefaults abstract sealed |
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.System.Object
Leadtools.RasterDefaults
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