Ejemplo n.º 1
0
 public EXIFPropertyItem(PropertyItem prop)
 {
     // Does KnownEXIFCodes have a corresponding entry?
     if (Enum.IsDefined(exifCode.GetType(), prop.Id))
     {
         exifCode = (KnownEXIFIDCodes)prop.Id;
     }
     else
     {
         exifCode = KnownEXIFIDCodes.UnknownCode;
     }
     exifType = (EXIFPropertyTypes)prop.Type;
     data = prop.Value;
     this.type = prop.Type;
     this.id = prop.Id;
     this.len = prop.Len;
 }
Ejemplo n.º 2
0
 public EXIFPropertyItem()
 {
     exifCode = 0;
     exifType = EXIFPropertyTypes.ExifTypeUndefined;
 }