Visual Basic (Declaration) | |
---|---|
Public Property PaletteFlags As ColorResolutionCommandPaletteFlags |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ColorResolutionCommandPaletteFlags PaletteFlags {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property ColorResolutionCommandPaletteFlags get_PaletteFlags(); public: __property void set_PaletteFlags( ColorResolutionCommandPaletteFlags value ); |
C++/CLI | |
---|---|
public: property ColorResolutionCommandPaletteFlags PaletteFlags { ColorResolutionCommandPaletteFlags get(); void set (ColorResolutionCommandPaletteFlags value); } |
Return Value
The palette flags to use.For an example, refer to RasterCodecs.ReadThumbnail.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family