MetaObject Class

Definition

Namespace: P1.ImageSdk

public class MetaObject :  IDisposable

Constructors

MetaObject()

Methods

Dump()

A wrapper around an image meta data tag. (Tiff, Exif and others)

IsReadOnly()

Get state of readonly atttribute. If metaobject is readonly then it can only be read (using a getter function)

IsWritable()

Get state of writable atttribute. If metaobject writable then it will be written to output files, otherwise it will not.

SetWritable(bool state)

Set state of writable atttribute.

IsDisabled()

Set state of disabled atttribute.

SetDisabled(bool state)

Set state of disabled atttribute.

IsModifiable()

Is the metaobject modifiable. Use this function to check if its possible to modify the value of the metaobject

IsValid()

Is meta object valid.

GetType()

Get the type of the metadata object

GetCount()

Return the number of elements in the object.

GetUByte(ref bool error)

Get scalar unsigned byte from object. Can only be used on binary metaobjects with the correct type.

GetUWord(ref bool error)

Get scalar unsigned word from object. Can only be used on binary metaobjects with the correct type.

GetULong(ref bool error)

Get scalar unsigned long from object. Can only be used on binary metaobjects with the correct type.

GetSByte(ref bool error)

Get scalar signed byte from object. Can only be used on binary metaobjects with the correct type.

GetSWord(ref bool error)

Get scalar signed word from object. Can only be used on binary metaobjects with the correct type.

GetSLong(ref bool error)

Get scalar signed long from object. Can only be used on binary metaobjects with the correct type.

GetFloat(ref bool error)

Get scalar float from object. Can only be used on binary metaobjects with the correct type.

GetDouble(ref bool error)

Get scalar double from object. Can only be used on binary metaobjects with the correct type.

GetURational(ref bool error)

Get scalar unsigned rational from object. Can only be used on binary metaobjects with the correct type.

GetSRational(ref bool error)

Get scalar signed rational from object. Can only be used on binary metaobjects with the correct type.

GetString(ref bool error)

Get string from object. Can be used on both binary and textual metaobjects. textual metaobject is e.g. an xmp value

GetUBytes(ref bool error)

Get array of unsigned bytes from object. Can only be used on binary metaobjects with the correct type.

GetUWords(ref bool error)

Get array of unsigned words from object. Can only be used on binary metaobjects with the correct type.

GetULongs(ref bool error)

Get array of unsigned longs from object. Can only be used on binary metaobjects with the correct type.

GetSBytes(ref bool error)

Get array of signed bytes from object. Can only be used on binary metaobjects with the correct type.

GetSWords(ref bool error)

Get array of signed words from object. Can only be used on binary metaobjects with the correct type.

GetSLongs(ref bool error)

Get array of signed longs from object. Can only be used on binary metaobjects with the correct type.

GetFloats(ref bool error)

Get array of floats from object. Can only be used on binary metaobjects with the correct type.

GetDoubles(ref bool error)

Get array of doubles from object. Can only be used on binary metaobjects with the correct type.

SetUByte(byte value)

Set scalar unsigned byte of object. Can only be used on binary metaobjects with the correct type.

SetUWord(ushort value)

Set scalar unsigned word of object. Can only be used on binary metaobjects with the correct type.

SetULong(uint value)

Set scalar unsigned long of object. Can only be used on binary metaobjects with the correct type.

SetSByte(sbyte value)

Set scalar signed byte of object. Can only be used on binary metaobjects with the correct type.

SetSWord(short value)

Set scalar signed word of object. Can only be used on binary metaobjects with the correct type.

SetSLong(int value)

Set scalar signed long of object. Can only be used on binary metaobjects with the correct type.

SetFloat(float value)

Set scalar float of object. Can only be used on binary metaobjects with the correct type.

SetDouble(double value)

Set scalar double of object. Can only be used on binary metaobjects with the correct type.

SetString(string buffer)

Set string of object. Can only be used on binary metaobjects with the correct type.

SetURational(URational value)

Set unsigned rational of object. Can only be used on binary metaobjects with the correct type.

SetSRational(SRational value)

Set signed rational of object. Can only be used on binary metaobjects with the correct type.

SetUBytes(byte[] values)

Set array of unsigned bytes to object. Can only be used on binary metaobjects with the correct type.

SetUWords(ushort[] values)

Set array of unsigned words to object. Can only be used on binary metaobjects with the correct type.

SetULongs(uint[] values)

Set array of unsigned longs to object. Can only be used on binary metaobjects with the correct type.

SetSBytes(sbyte[] values)

Set array of signed bytes to object. Can only be used on binary metaobjects with the correct type.

SetSWords(short[] values)

Set array of signed words to object. Can only be used on binary metaobjects with the correct type.

SetSLongs(int[] values)

Set array of signed longs to object. Can only be used on binary metaobjects with the correct type.

SetFloats(float[] values)

Set array of floats to object. Can only be used on binary metaobjects with the correct type.

SetDoubles(double[] values)

Set array of doubles to object. Can only be used on binary metaobjects with the correct type.

Dispose()