xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_property_item()

xtd::drawing::imaging::property_item xtd::drawing::image::get_property_item ( int32  propid)

Gets the specified property item from this xtd::drawing::image.

Parameters
propidThe ID of the property item to get.
Returns
The xtd::drawing::imaging::property_item this method gets.
Exceptions
xtd::argument_exceptionThe image format of this image does not support property items.
Remarks
For a list of property item IDs and links to more information, see Id.
It is difficult to set property items, because the xtd::drawing::imaging::property_item class has no public constructors. One way to work around this restriction is to obtain a xtd::drawing::imaging::property_item by retrieving the xtd::drawing::image::property_item property value or calling the xtd::drawing::image::get_property_item method of an xtd::drawing::image that already has property items. Then you can set the fields of the xtd::drawing::imaging::property_item and pass it to xtd::drawing::image::set_property_item.