BitmapEncoder.BitmapTransform 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 在編碼器上設定它。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應