Gets the values of all matching fields.

 

   
Syntax
 
     

[VBScript]
outStrings = GraphicIPTC.Value(inField)

 

   
Params
 
     
Name   Type   Description
inField String The field to be queried.
outValue String The value of a matching field.

 

   
Notes
 
     

This function returns the text value of the first matching field found. If no matching field is found an empty string is returned.

For details of the way in which IPTC items can be referred to by name see the Add method.

 

   
See Also
 
     

Item property.

 

   
Example
 
     

[VBScript]
Set gr = Server.CreateObject("ImageGlue7.Graphic")
theFile = Server.MapPath("iptc.tif")
gr.ReadIPTC = True
gr.SetFile theFile
Response.Write gr.IPTC.Value("Headline") & "<br>"
Response.Write gr.IPTC.Value("Caption") & "<br>"

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