> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PngExtendedParams オブジェクト（IPngExtendedParams インターフェイス）

このオブジェクトは、[**IImage::WriteToFile**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image-writetofile.md) メソッドで black-and-white 画像を PNG 形式 (IFF\_Png 形式) で保存する際のパラメーターを調整するための機能を提供します。このオブジェクトへのポインターは入力パラメーターとして **IImage::WriteToFile** メソッドに渡され、出力画像のプロパティに反映されます。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **TransparentColor** | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md) | 画像を PNG 形式で保存する際に、透明な領域に置き換える色を設定します。 現在サポートされているのは白と黒のみです。 注：**int** 値は、RGB の 3 つの値から次の式で算出されます：(**red value**) + (256 x **green value**) + (65536 x **blue value**)。ここで、**red value** は 1 番目の成分、**green value** は 2 番目の成分、**blue value** は 3 番目の成分です。たとえば、白の **int** 値は 16777215 です。 このプロパティのデフォルト値は -1 で、この場合はどの色も透明に置き換えられません。 |

## 出力パラメーター

このオブジェクトは、[**Engine**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/engine.md) オブジェクトの [**CreatePngExtendedParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/engine-createxxx.md) メソッドの出力パラメーターです。

## 入力パラメーター

このオブジェクトは、[**Image**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md) オブジェクトの [**WriteToFile**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image-writetofile.md) メソッドの入力パラメーターです。

## 関連項目

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
