PictureFormat.TransparencyColor 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.
Returns or sets the transparent color for the specified picture as a red-green-blue (RGB) value. Applies to bitmaps only.
public:
property int TransparencyColor { int get(); void set(int value); };
public int TransparencyColor { get; set; }
Public Property TransparencyColor As Integer
Property Value
Remarks
For this property to take effect, the TransparentBackground property must be set to True.
If you want to be able to see through the transparent parts of the picture all the way to the objects behind the picture, you must set the Visible property of the picture's FillFormat object to False. If your picture has a transparent color and the Visible property of the picture's FillFormat object is set to True, the picture's fill will be visible through the transparent color, but objects behind the picture will be obscured.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應