...

Chasys Draw IES Help:


SDK - Layer Attachments - NOTE
 

Using the NOTE meta-type

The NOTE attachment is used for capturing author notes/comments. It is a null-terminated plain-text (UTF-8) segment consisting of any author notes/comments.

The terminating NULL character must be included for the attachment to be valid.

 

Sample Code

Here's some sample code that creates NOTE metadata:
TAGS: Chasys Draw IES Source Code, Attachment, Metadata, NOTE

char notes[3072];

... ...

//insert NOTE attachment
if(strlen(notes))
{
    data->meta_data=(unsigned char*)notes;
    data->meta_write(data,"NOTE",
strlen(notes)+1);
}