共用方式為


ContentCoordinateConverter.CreateForWindowId(WindowId) 方法

定義

為指定的 WindowId 建立新的 ContentCoordinateConverter 物件。

public:
 static ContentCoordinateConverter ^ CreateForWindowId(WindowId windowId);
 static ContentCoordinateConverter CreateForWindowId(WindowId const& windowId);
public static ContentCoordinateConverter CreateForWindowId(WindowId windowId);
function createForWindowId(windowId)
Public Shared Function CreateForWindowId (windowId As WindowId) As ContentCoordinateConverter

參數

windowId
WindowId

最上層視窗識別碼。

傳回

物件,用來在本機座標空間與系統螢幕座標之間轉換。

適用於