Graphics::AddMetafileComment メソッドは、既存のメタファイルにテキスト コメントを追加します。
構文
Status AddMetafileComment(
[in] const BYTE *data,
[in] UINT sizeData
);
パラメーター
[in] data
型: const BYTE*
コメントを含むバッファーへのポインター。
[in] sizeData
型: UINT
データ パラメーターの値のバイト数を指定する整数。
戻り値
種類: 状態
メソッドが成功した場合は、Status 列挙の要素である Ok を返します。
メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。
要件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント | Windows XP、Windows 2000 Professional [デスクトップ アプリのみ] |
| サポートされている最小のサーバー | Windows 2000 Server [デスクトップ アプリのみ] |
| 対象プラットフォーム | Windows |
| ヘッダー | gdiplusgraphics.h (Gdiplus.h を含む) |
| Library | Gdiplus.lib |
| [DLL] | Gdiplus.dll |