/** * Adds a title. * @param title */ public void AddTitle(String title) { XmpArray array = new XmpArray(XmpArray.ALTERNATIVE); array.Add(title); SetProperty(TITLE, array); }
public void SetProperty(string key, XmpArray value) { base[key] = value.ToString(); }
/** * Adds a subject. * @param subject */ public void AddSubject(String subject) { XmpArray array = new XmpArray(XmpArray.UNORDERED); array.Add(subject); SetProperty(SUBJECT, array); }
/** * Adds a subject. * @param subject array of subjects */ public void addSubject(String[] subject) { XmpArray array = new XmpArray(XmpArray.UNORDERED); for (int i = 0; i < subject.Length; i++) { array.Add(subject[i]); } SetProperty(SUBJECT, array); }
/** * Adds a single publisher. * @param publisher */ public void AddPublisher(String publisher) { XmpArray array = new XmpArray(XmpArray.ORDERED); array.Add(publisher); SetProperty(PUBLISHER, array); }
/** * Adds an array of publishers. * @param publisher */ public void AddPublisher(String[] publisher) { XmpArray array = new XmpArray(XmpArray.ORDERED); for (int i = 0; i < publisher.Length; i++) { array.Add(publisher[i]); } SetProperty(PUBLISHER, array); }
/** * Adds a description. * @param desc */ public void AddDescription(String desc) { XmpArray array = new XmpArray(XmpArray.ALTERNATIVE); array.Add(desc); SetProperty(DESCRIPTION, array); }
/** * Adds an array of authors. * @param author */ public void AddAuthor(String[] author) { XmpArray array = new XmpArray(XmpArray.ORDERED); for (int i = 0; i < author.Length; i++) { array.Add(author[i]); } SetProperty(CREATOR, array); }
/** * Adds a single author. * @param author */ public void AddAuthor(String author) { XmpArray array = new XmpArray(XmpArray.ORDERED); array.Add(author); SetProperty(CREATOR, array); }
/** Adds the identifier. * @param id */ public void AddIdentifiers(String[] id) { XmpArray array = new XmpArray(XmpArray.UNORDERED); for (int i = 0; i < id.Length; i++) { array.Add(id[i]); } SetProperty(IDENTIFIER, array); }