ImageEn, unit iexBitmaps

TIOParams.WriteIPTCField

TIOParams.WriteIPTCField


Declaration

procedure WriteIPTCField(iRecNo, iFieldIndex: Integer; const Value: string);
procedure WriteIPTCField(iRecNo, iFieldIndex: Integer; ssValues: TStrings);


Description

Write a value to an IPTC field.

Note: Items that require multiple instances, such as Photoshop's keyword field, should be added using the TStrings overload method.


Examples

// Write the Photoshop description:
ImageEnIO1.Params.WriteIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Caption, sDescription);

// Write the Photoshop keywords (in a comma-separated string):
ssList := TStringList.create;
ssList.DelimitedText := sKeywords;
ImageEnIO1.Params.WriteIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Keywords, ssList);
ssList.Free;


See Also

- Photoshop IPTC consts
- ReadIPTCField
- IPTC_Photoshop