Visual Basic (Declaration) | |
---|---|
Public Property DitheringMethod As RasterDitheringMethod |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CodecsThumbnailOptions Dim value As RasterDitheringMethod instance.DitheringMethod = value value = instance.DitheringMethod |
C# | |
---|---|
public RasterDitheringMethod DitheringMethod {get; set;} |
C++/CLI | |
---|---|
public: property RasterDitheringMethod DitheringMethod { RasterDitheringMethod get(); void set ( RasterDitheringMethod value); } |
Property Value
The dithering method to use.For an example, refer to RasterCodecs.ReadThumbnail.
The DitheringMethod will be passed to Leadtools.ImageProcessing.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.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)