BitmapEncoder.BitmapTransform 屬性

定義

BitmapTransform物件,用來指定要如何轉換框架點陣圖。

public:
 property BitmapTransform ^ BitmapTransform { BitmapTransform ^ get(); };
BitmapTransform BitmapTransform();
public BitmapTransform BitmapTransform { get; }
var bitmapTransform = bitmapEncoder.bitmapTransform;
Public ReadOnly Property BitmapTransform As BitmapTransform

屬性值

BitmapTransform物件,用來指定要如何轉換框架點陣圖。

備註

如果您嘗試使用 BitmapTransform 成員調整以索引像素格式儲存的影像, FlushAsync 會因為 HRESULT WINCODEC_ERR_INVALIDPARAMETER 而失敗。 相反地,您必須使用 GetPixelDataAsync 來取得縮放的圖元資料,然後使用 SetPixelData 在編碼器上設定它。

適用於