.. _doxcsid-class_p1_1_1_image_sdk_1_1_meta_object_1a02ccf8af15e03637724870e88db295a8: MetaObject.SetSWords Method +++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.ImageSdk`` Set array of signed words to object. Can only be used on binary metaobjects with the correct type. .. ref-code-block:: csharp :class: doxyrest-overview-code-block public bool SetSWords(short[] values); It is the users responsability to use this function correctly. The type of the object can be retrieved by using the :ref:`GetType() ` method. If function is used on a wrong kind of object the function will set the error flag. A binary metaobject is eg. exif, gps and geotiff kind of metadata. A rational is value represented as a fraction (nom/denom) instead of a float or double. nom and denon is of type unsigned long .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - values - Array of values to be set .. rubric:: Returns: true is returned it setting the value was successfull, on error false is returned.