ImageGear .NET v25.1 - Updated
DateTimeOriginal Property (ImGearEXIFMetadata)




ImageGear.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.EXIF Namespace > ImGearEXIFMetadata Class : DateTimeOriginal Property
Gets or sets DateTimeOriginal Tag value.
Syntax
'Declaration
 
Public Property DateTimeOriginal As String
'Usage
 
Dim instance As ImGearEXIFMetadata
Dim value As String
 
instance.DateTimeOriginal = value
 
value = instance.DateTimeOriginal
public string DateTimeOriginal {get; set;}
public: __property string* get_DateTimeOriginal();
public: __property void set_DateTimeOriginal( 
   string* value
);
public:
property String^ DateTimeOriginal {
   String^ get();
   void set (    String^ value);
}

Property Value

System.DateTime value.
Remarks
This property accesses the DateTimeOriginal tag. The tag specifies the date and time when the original image data was generated. For a DSC, the date and time the picture was taken are recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character [20.H]. When the date and time are unknown, all the character spaces except colons (":") may be filled with blank characters, or else the Interoperability field may be filled with blank characters.

Get accessor returns the tag value if the tag is present in the metadata tree, or null otherwise.

Set accessor replaces the current tag value if the tag is present in the metadata tree, adds the tag if it was not present, or deletes the tag if a null value is passed.

See the EXIF 2.2 specification for tag usage details.

See Also

Reference

ImGearEXIFMetadata Class
ImGearEXIFMetadata Members