初始化 InkOverlayPaintingEventArgs 類別的新執行個體。
命名空間: Microsoft.Ink
組件: Microsoft.Ink (在 Microsoft.Ink.dll 中)
語法
'宣告
Public Sub New ( _
graphics As Graphics, _
clipRectangle As Rectangle, _
Allow As Boolean _
)
'用途
Dim graphics As Graphics
Dim clipRectangle As Rectangle
Dim Allow As Boolean
Dim instance As New InkOverlayPaintingEventArgs(graphics, _
clipRectangle, Allow)
public InkOverlayPaintingEventArgs(
Graphics graphics,
Rectangle clipRectangle,
bool Allow
)
public:
InkOverlayPaintingEventArgs(
Graphics^ graphics,
Rectangle clipRectangle,
bool Allow
)
public InkOverlayPaintingEventArgs(
Graphics graphics,
Rectangle clipRectangle,
boolean Allow
)
public function InkOverlayPaintingEventArgs(
graphics : Graphics,
clipRectangle : Rectangle,
Allow : boolean
)
參數
- graphics
型別:System.Drawing.Graphics
InkOverlay 物件呈現的 Graphics (英文) 物件。
- clipRectangle
型別:System.Drawing.Rectangle
要繪製的裁剪 Rectangle (英文)。
- Allow
型別:System.Boolean
如果應該發生繪製作業,則設定為 true,否則設定為 false。
備註
Graphics (英文) 型別的 graphics 會指定要呈現的圖形物件。Rectangle (英文) 型別的 clipRectangle 會指定 clipRectangle (以像素為單位)。bool 型別的 Allow 會指定是否要執行繪製作業。
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求。
版本資訊
.NET Framework
支援版本:3.0
請參閱
參考
InkOverlayPaintingEventArgs 類別