Skip to content

SetHeaderAttribute

function

Delphi
procedure SetHeaderAttribute (HeaderAttribute: THeaderAttribute; Value: string);
C++Builder
void __fastcall SetHeaderAttribute(THeaderAttribute HeaderAttribute, System::UnicodeString Value);
C#
public void SetHeaderAttribute(THeaderAttribute HeaderAttribute, string Value);
VB.NET
Public Sub SetHeaderAttribute(HeaderAttribute As THeaderAttribute, Value As String)
C++/Qt
void SetHeaderAttribute (THeaderAttribute HeaderAttribute, wchar_t *Value);

Sets the header attributes (strings like Author, Description, etc.) of AVI or ASF files. See AVI & ASF header attributes for more information.

The allowed values for the HeaderAttribute parameter are:

  • for both AVI and ASF files (RecordingMethod = rm_AVI or rm_ASF): ha_Title, ha_Description, ha_Author, ha_Copyright;

  • for ASF files only (RecordingMethod = rm_ASF): ha_AlbumArtist, ha_AlbumTitle, ha_Composer, ha_ContentDistributor, ha_Director, ha_EncodingTime, ha_Genre, ha_Language, ha_ParentalRating, ha_Producer, ha_Provider, ha_ToolName, ha_ToolVersion, ha_Writer.

For AVI files only (RecordingMethod = rm_AVI), from the Multimedia Programming Interface and Data Specifications 1.0:

  • ha_IARL: Archival Location. Indicates where the subject of the file is archived.

  • ha_ICMS: Commissioned. Lists the name of the person or organization that commissioned the subject of the file. For example, Pope Julian II.

  • ha_ICMT: Comments. Provides general comments about the file or the subject of the file. If the comment is several sentences long, end each sentence with a period. Do not include newline characters.

  • ha_ICRD: Creation date. Specifies the date the subject of the file was created. List dates in year-month-day format, padding one-digit months and days with a zero on the left. For example, 1553-05-03 for May 3, 1553.

  • ha_ICRP: Cropped. Describes whether an image has been cropped and, if so, how it was cropped. For example, lower right corner.

  • ha_IDIM: Dimensions. Specifies the size of the original subject of the file.

  • ha_IDPI: Dots Per Inch. Stores dots per inch setting of the digitizer used to produce the file, such as 300.

  • ha_IENG: Engineer. Stores the name of the engineer who worked on the file. If there are multiple engineers, separate the names by a semicolon and a blank. For example, Smith, John; Adams, Joe.

  • ha_IGNR: Genre. Describes the original work, such as landscape, portrait, still life, etc.

  • ha_IKEY: Keywords. Provides a list of keywords that refer to the file or subject of the file. Separate multiple keywords with a semicolon and a blank. For example, Seattle; aerial view; scenery.

  • ha_ILGT: Lightness. Describes the changes in lightness settings on the digitizer required to produce the file. Note that the format of this information depends on hardware used.

  • ha_IMED: Medium. Describes the original subject of the file, such as computer image, drawing, lithograph, and so forth.

  • ha_IPLT: Palette Setting. Specifies the number of colors requested when digitizing an image, such as 256.

  • ha_IPRD: Product. Specifies the name of the title the file was originally intended for, such as Encyclopedia of Pacific Northwest Geography.

  • ha_ISFT: Software. Identifies the name of the software package used to create the file, such as Microsoft WaveEdit.

  • ha_ISHP: Sharpness. Identifies the changes in sharpness for the digitizer required to produce the file (the format depends on the hardware used).

  • ha_ISRC: Source. Identifies the name of the person or organization who supplied the original subject of the file. For example, Trey Research.

  • ha_ISRF: Source Form. Identifies the original form of the material that was digitized, such as slide, paper, map, and so forth. This is not necessarily the same as IMED.

  • ha_ITCH: Technician. Identifies the technician who digitized the subject file. For example, Smith, John.