[This is preliminary documentation and is subject to change.]

Saves all the exif data from given Exif

Namespace: Tools.MetadataT.ExifT
Assembly: Tools.Metadata (in Tools.Metadata.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[CLSCompliantAttribute(false)]
public void Save(
	Exif Data,
	ExifWriter..::..RecordWrittenCallback RecordWrittenCallback
)
Visual Basic
<CLSCompliantAttribute(False)> _
Public Sub Save ( _
	Data As Exif, _
	RecordWrittenCallback As ExifWriter..::..RecordWrittenCallback _
)
Visual C++
[CLSCompliantAttribute(false)]
public:
void Save(
	Exif^ Data, 
	ExifWriter..::..RecordWrittenCallback^ RecordWrittenCallback
)
F#
[<CLSCompliantAttribute(false)>]
member Save : 
        Data:Exif * 
        RecordWrittenCallback:ExifWriter..::..RecordWrittenCallback -> unit 
JScript
public function Save(
	Data : Exif, 
	RecordWrittenCallback : ExifWriter..::..RecordWrittenCallback
)

Parameters

Data
Type: Tools.MetadataT.ExifT..::..Exif
Exif to save
RecordWrittenCallback
Type: Tools.MetadataT.ExifT..::..ExifWriter..::..RecordWrittenCallback
Optional callback function called whenever record is written

Remarks

This method is not CLS-compliant, but there is CLS-compilant overload.

This function calls EndWriting()()()() when all data are written.

Thumbnail behavior of this function depends on PreserveThumbnail. This function alone is not capable of writing thumbnail, use RecordWrittenCallback to write thumbnail data as pointed BLOb.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionData is null -or- Data stored in any record are null.
System.ComponentModel..::..InvalidEnumArgumentExceptionAny Ifd contains pointer to SubIFD and data type of the pointer is not one of ExifWriter..::..PointerSizes. -or- Record of unsupported datatype reached.
System..::..ArgumentExceptionAny Ifd contains pointer to SubIFD and data type of the pointer has multiple components. -or- DataType.NumberOfElements of any record differes from number of components in Data
Tools..::..TypeMismatchExceptionData of any record is of different type than is reported by DataType.DataType

See Also

Collapse/expand Version History

1.5.2

  • Method introduced