←Select platform
In This Topic ▼

RasterDefaults Class Members

Summary

The following tables list the members exposed by RasterDefaults.

Public Methods

Name Description
Public Method DeleteTemporaryFile Deletes the specified temporary file.
Public Method GetAutoFixImageResolutionOptions Gets the automatic resolution conversion options used by LEADTOOLS to automatically convert the resolution of digital photos.
Public Method GetGlobalMemoryThresholds Gets an object that contains the conventional memory restrictions used when allocating new RasterImage objects.
Public Method GetResourceDirectory Gets the path for the specified LEADTOOLS resource directory.
Public Method GetTemporaryFileName Allows the user to create a temporary filename in the LEADTOOLS temporary folder.
Public Method SetAutoFixImageResolutionOptions Sets the automatic resolution conversion options used by LEADTOOLS to automatically convert the resolution of digital photos.
Public Method SetGlobalMemoryThresholds Sets an object that contains the conventional memory restrictions used when allocating new RasterImage objects.
Public Method SetRasterImageAllocateCallback Sets a global callback to be called whenever the toolkit is creating a new RasterImage object.
Public Method SetResourceDirectory Sets the path for the specified LEADTOOLS resource directory.

Public Properties

Name Description
Public Property CompressOnSerialize Gets or sets a value that indicate whether to use compression when serializing a RasterImage object.
Public Property DitheringMethod Gets or sets a value that 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.
Public Property MaximumThreadCount Gets or sets the maximum number of threads used during processing.
Public Property MemoryFlags Gets or sets a value that specifies the type of memory to use when creating new RasterImage objects.
Public Property MemoryThreshold Gets or sets a value that specifies the memory restrictions for allocating new RasterImage objects.
Public Property TempFileMode Value that indicates whether the temp files are on disk, in memory, or a combination of disk and memory.
Public Property TemporaryDirectory Gets or sets a value that specifies the directory in which LEADTOOLS will create temporary files when creating disk-based RasterImage objects.
Public Property XResolution Gets or sets the horizontal resolution used when creating new RasterImage objects.
Public Property YResolution Gets or sets the vertical resolution used when creating new RasterImage objects.

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

Leadtools Assembly