CGpGraphics.AddMetafileCommentmethod
Adds a text comment to an existing metafile.
Syntax
FUNCTION AddMetafileComment (BYVAL pdata AS BYTE PTR, BYVAL sizeData AS UINT) AS GpStatus
Parameters
| Name | Description | |
|---|---|---|
pData | Pointer to a buffer that contains the comment. | |
sizeData | Integer that specifies the number of bytes in the value of the data parameter. |
Return value
If the function succeeds, it returns StatusOk, which is an element of the GpStatus enumeration.
If the function fails, it returns one of the other elements of the GpStatus enumeration.
Description
Adds a text comment to an existing metafile.
Reference
- Include file
CGpGraphics.inc - Defined in AfxNova/CGpGraphics.inc:1574
- Documented in Graphics/GdiPlus Classes/CGpGraphics Classes.md
- Topic: CGpGraphics Class