Pen::GetDashStyle メソッド (gdipluspen.h)

Pen::GetDashStyle メソッドは、この Pen オブジェクトに現在設定されているダッシュ スタイルを取得します。

構文

DashStyle GetDashStyle();

戻り値

種類: DashStyle

このメソッドは、この Pen オブジェクトのダッシュ スタイルを示す DashStyle 列挙体の要素を返します。

要件

要件
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdipluspen.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll

こちらもご覧ください

DashStyle

ユーザー設定の破線の描画

ペン

Pen::GetDashCap

Pen::GetDashOffset

Pen::GetDashPattern

Pen::GetDashPatternCount

Pen::SetDashCap

Pen::SetDashOffset

Pen::SetDashPattern

Pen::SetDashStyle

ペン、直線、および四角形