FormatConvertedBitmap.AlphaThreshold Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the alpha channel threshold of a bitmap when converting to palletized formats that recognizes an alpha color.
public:
property double AlphaThreshold { double get(); void set(double value); };
public double AlphaThreshold { get; set; }
member this.AlphaThreshold : double with get, set
Public Property AlphaThreshold As Double
Property Value
The alpha channel threshold for this FormatConvertedBitmap. The default value is 0.0.
Remarks
The AlphaThreshold value is used to determine what level of opacity will be mapped to the fully transparent color in the converted format. A value of 9.8 implies that any pixel with an alpha value of less than 25 will be mapped to the transparent color. A value of 100 maps all pixels which are not fully opaque to the transparent color.
The destination palette should provide a transparent color; otherwise, the transparent color will be the one closest to zero, often black.
Dependency Property Information
Identifier field | AlphaThresholdProperty |
Metadata properties set to true |
None |
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示