←Select platform

PaletteFlags Property

Summary

Gets or sets the palette flags to use.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public ColorResolutionCommandPaletteFlags PaletteFlags { get; set; } 
@property (nonatomic, assign) LTColorResolutionCommandPaletteFlags paletteFlags 
public ColorResolutionCommandPaletteFlags getPaletteFlags() 
public void setPaletteFlags(ColorResolutionCommandPaletteFlags value) 
             
 <br/>get_PaletteFlags();<br/>set_PaletteFlags(value);<br/>Object.defineProperty('PaletteFlags');  

Property Value

The palette flags to use.

Remarks

The PaletteFlags 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 PaletteFlags.

Example

For an example, refer to RasterCodecs.ReadThumbnail.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly