Gets or sets the dithering method to use.
public RasterDitheringMethod DitheringMethod { get; set; }
Public Property DitheringMethod As Leadtools.RasterDitheringMethod
public Leadtools.RasterDitheringMethod DitheringMethod {get; set;}
@property (nonatomic, assign) LTRasterDitheringMethod ditheringMethod
public RasterDitheringMethod getDitheringMethod()
public void setDitheringMethod(RasterDitheringMethod value)
<br/>get_DitheringMethod();<br/>set_DitheringMethod(value);<br/>Object.defineProperty('DitheringMethod');
public:
property Leadtools.RasterDitheringMethod DitheringMethod {
Leadtools.RasterDitheringMethod get();
void set ( Leadtools.RasterDitheringMethod );
}
The dithering method to use.
The DitheringMethod will be passed to ColorResolutionCommand internally when MaintainAspectRatio is true, ForceSize is true, and the source image is not 24-bit. In this case, the thumbnail image is converted to 24-bit, then, combined with a "background" image. The resulting image is then returned to the thumbnail image's original bit-depth using DitheringMethod.
For an example, refer to RasterCodecs.ReadThumbnail.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET