Method SetRightsMetadata
SetRightsMetadata(ImageRightsMetadata)
Writes rights into the picture's XMP packet, so the next encode carries
the copyright notice, creator, credit line, usage terms and rights page inside the file.
An XMP packet the picture already carries keeps every other property; the rights
properties are replaced. Fields left blank are removed from the packet.
public void SetRightsMetadata(ImageRightsMetadata rights)
Parameters
rightsImageRightsMetadataThe rights statement.
Remarks
The encoder writes XMP when its options keep the Xmp family (the default keeps every family).
Exceptions
- ArgumentNullException
rightsis null.- ArgumentException
A field is too long, or the web statement is not an http(s) address.
- ObjectDisposedException
This instance has been disposed.