|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||
Use this method to add a new item of information. You can refer to fields either using the common names or using a more formal "Record:DataSet" format as defined in the IPTC specification. For example the "Headline" field is defined as part of Record 2 DataSet 105. This means you can use either of the following two methods to enter a headline. [Visual Basic] [C#] The IPTC specification allows you to embed more than one field with the same name. When dealing with fields such as headlines or captions you will typically want to replace any existing fields. However for some types of data such as keywords, you may wish to add to an existing set of entries rather than replace them all. ImageGlue recognizes the following common names:
Note that information changes are not applied until the Embed method is called. |
|||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||
[C#]
[Visual Basic]
This example draws a TIFF into a canvas. It then gets the canvas contents in JPEG format and embeds a headline and some keywords into the image. Finally it writes the data to a database (code not shown). |