←Select platform

RasterDefaults Class

Summary
Specifies the default extra values used when creating RasterImage objects.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static class RasterDefaults 
@interface LTRasterDefaults : NSObject 
public class RasterDefaults 
public ref class RasterDefaults abstract sealed  
class RasterDefaults: 
Remarks

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

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

You can use DitheringMethod to specify 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.

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

Use GetGlobalMemoryThresholds and SetGlobalMemoryThresholds to modify the conventional memory restrictions used when allocating new RasterImage objects.

Requirements

Target Platforms

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.