_CommandBarButton.Mask 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 an IPictureDisp object that represents the mask image of a _CommandBarButton object.
public:
property stdole::IPictureDisp ^ Mask { stdole::IPictureDisp ^ get(); void set(stdole::IPictureDisp ^ value); };
public stdole.IPictureDisp Mask { get; set; }
member this.Mask : stdole.IPictureDisp with get, set
Public Property Mask As IPictureDisp
Property Value
Remarks
The mask image determines what parts of the button image are transparent.
When you create an image that you plan on using as a mask image, all of the areas that you want to be transparent should be white, and all of the areas that you want to show should be black.
Always set the mask after you have set the picture for a CommandBarButton object.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro