Visual Basic (Declaration) | |
---|---|
Public Property DitheringMethod As RasterDitheringMethod |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterDitheringMethod DitheringMethod {get; set;} |
C++/CLI | |
---|---|
public: property RasterDitheringMethod DitheringMethod { RasterDitheringMethod get(); void set (RasterDitheringMethod value); } |
Return Value
An RasterDitheringMethod that specify the dithering method to use when create thumbnails.For an example, refer to RasterCodecs.ReadThumbnail.
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" bitmap. The
resulting bitmap is then returned to the thumbnail image's original bit-depth using DitheringMethod.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6