共用方式為


DragUI.SetContentFromSoftwareBitmap 方法

定義

多載

SetContentFromSoftwareBitmap(SoftwareBitmap)

從提供的 SoftwareBitmap 建立視覺化專案,以代表拖放作業中的拖曳資料。

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

從提供的 SoftwareBitmap 建立視覺化專案,以代表拖放作業中的拖曳資料,並從指標設定視覺效果的相對位置。

SetContentFromSoftwareBitmap(SoftwareBitmap)

從提供的 SoftwareBitmap 建立視覺化專案,以代表拖放作業中的拖曳資料。

public:
 virtual void SetContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap) = SetContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmap")]
void SetContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap);
[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmap")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap);
function setContentFromSoftwareBitmap(softwareBitmap)
Public Sub SetContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap)

參數

softwareBitmap
SoftwareBitmap

用來建立拖曳視覺效果的來源影像。

屬性

另請參閱

適用於

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

從提供的 SoftwareBitmap 建立視覺化專案,以代表拖放作業中的拖曳資料,並從指標設定視覺效果的相對位置。

public:
 virtual void SetContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap, Point anchorPoint) = SetContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmapWithAnchorPoint")]
void SetContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap, Point const& anchorPoint);
[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmapWithAnchorPoint")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap, Point anchorPoint);
function setContentFromSoftwareBitmap(softwareBitmap, anchorPoint)
Public Sub SetContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap, anchorPoint As Point)

參數

softwareBitmap
SoftwareBitmap

用來建立拖曳視覺效果的來源影像。

anchorPoint
Point

從指標拖曳視覺效果的相對位置。

屬性

另請參閱

適用於