Type Default Value Read Only Static Description
IPTCRecord None Yes No An IPTC entry from the current graphic.

The Item property allows you to access IPTC items referenced by index.

For details of the way in which IPTC items can be referred to see the Add method. Only the first matching item is returned.

See Also





[C#]XImageLoadOptions loadOptions = new XImageLoadOptions();
loadOptions.ReadIPTC = true;
XImage image = XImage.FromFile(Server.MapPath("rez/ipct2.jpg"), loadOptions);
if (image.IPTC != null) {

[Visual Basic]Dim loadOptions As New XImageLoadOptions()
loadOptions.ReadIPTC = True
Dim image As XImage = XImage.FromFile(Server.MapPath("rez/ipct2.jpg"), loadOptions)
If image.IPTC IsNot Nothing Then
End If

This example writes the Headline and Caption from a TIFF file. An error will be raised if the IPTC data does not contain a headline and caption.