TVideoGrabber.SetHeaderAttribute

Prev

Next

TVideoGrabber

Methods

 




Sets the header attributes of AVI / ASF files.


Declaration
procedure SetHeaderAttribute(HeaderAttribute: THeaderAttribute; Value: String);


void __fastcall SetHeaderAttribute(THeaderAttribute HeaderAttributeGraphics, wchar_t *Value)


Sub SetHeaderAttribute(HeaderAttribute as TxHeaderAttribute, Value as String)

Description

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

The allowed values for HeaderAttributes 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 examplePope Julian II. 
ha_ICMT: Comments. Provides general comments about the file or the subject of the file. If the comment is several sentences longend 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 formatpadding one-digit months and days with a zero on the left. For example1553-05-03 for May 31553. 
ha_ICRP: Cropped. Describes whether an image has been cropped andif sohow it was cropped. For examplelower 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 filesuch as 300. 
ha_IENG: Engineer. Stores the name of the engineer who worked on the file. If there are multiple engineersseparate the names by a semicolon and a blank. For exampleSmithJohn; AdamsJoe. 
ha_IGNR: Genre. Describes the original worksuch aslandscapeportraitstill lifeetc. 
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 exampleSeattle; 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 filesuch ascomputer imagedrawinglithographand so forth. 
ha_IPLT: Palette Setting. Specifies the number of colors requested when digitizing an imagesuch as 256. 
ha_IPRD: Product. Specifies the name of the title the file was originally intended forsuch as Encyclopedia of Pacific Northwest Geography. 
ha_ISFT: Software. Identifies the name of the software package used to create the filesuch 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:/tab Source. Identifies the name of the person or organization who supplied the original subject of the file. For exampleTrey Research. 
ha_ISRF: Source Form. Identifies the original form of the material that was digitizedsuch as slidepapermapand so forth. This is not necessarily the same as IMED. 
ha_ITCH: Technician. Identifies the technician who digitized the subject file. For exampleSmithJohn.


See Also
THeaderAttribute ClearHeaderAttributes