Freigeben über


Window2.SetTabPicture(Object) Method

Definition

Loads a bitmap into a tabbed picture on a tab-linked tool window.

public:
 void SetTabPicture(System::Object ^ Picture);
public:
 void SetTabPicture(Platform::Object ^ Picture);
void SetTabPicture(winrt::Windows::Foundation::IInspectable const & Picture);
[System.Runtime.InteropServices.DispId(138)]
public void SetTabPicture (object Picture);
[<System.Runtime.InteropServices.DispId(138)>]
abstract member SetTabPicture : obj -> unit
Public Sub SetTabPicture (Picture As Object)

Parameters

Picture
Object

A path to a bitmap.

Implements

Attributes

Remarks

SetTabPicture now takes a path to a bitmap as a possible value for the Picture argument. When a file path is supplied, the SetTabPicture method loads the bitmap and uses that as the tabbed picture on a tab-linked tool window.

SetTabPicture also takes a handle to a bitmap (HBITMAP) for the value of Picture, allowing you to pass a bitmap that has been loaded from resources.

Applies to