XmpColorantBase class

XmpColorantBase class

Represents a structure containing the characteristics of a colorant (swatch) used in a document.

The XmpColorantBase type exposes the following members:

Methods

Method Description
get_xmp_representation Converts the XMP value to the XML representation.
add_properties Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. (inherited from MetadataPackage)
add_properties_func (inherited from MetadataPackage)
contains Returns True if the package contains a metadata property with the specified name; otherwise, False. (inherited from MetadataPackage)
contains_file (inherited from MetadataPackage)
contains_string (inherited from MetadataPackage)
find_properties Finds metadata properties that satisfy the specified predicate, searching recursively through all nested packages. (inherited from MetadataPackage)
find_properties_func (inherited from MetadataPackage)
get (inherited from MetadataPackage)
get_enumerator Returns an enumerator that iterates through the collection. (inherited from MetadataPackage)
get_file (inherited from MetadataPackage)
get_namespace_uri Retrieves the namespace URI associated with the specified prefix. (inherited from XmpComplexType)
get_namespace_uri_file (inherited from XmpComplexType)
get_namespace_uri_string (inherited from XmpComplexType)
get_string (inherited from MetadataPackage)
remove_properties Removes metadata properties satisfying the specified predicate. (inherited from MetadataPackage)
remove_properties_func (inherited from MetadataPackage)
sanitize Removes writable metadata properties from the package, recursively affecting all nested packages. (inherited from MetadataPackage)
set_properties Sets known metadata properties satisfying the specified predicate. (inherited from MetadataPackage)
set_properties_func (inherited from MetadataPackage)
to_string Returns a str that represents this instance. (inherited from XmpComplexType)
update_properties Updates known metadata properties that satisfy the specified predicate, recursively affecting all nested packages. (inherited from MetadataPackage)
update_properties_func (inherited from MetadataPackage)

Properties

Property Description
color_type The type of color.
mode The colour mode, indicating the colour space in which the colour is defined (one of: CMYK, RGB, LAB).
swatch_name The name of the swatch.
count The number of metadata properties. (inherited from MetadataPackage)
keys The collection of metadata property names. (inherited from MetadataPackage)
know_property_descriptors The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
metadata_type The metadata type of the package. (inherited from MetadataPackage)
namespace_uris The namespace URIs used in the XmpComplexType instance. (inherited from XmpComplexType)
prefixes The namespace prefixes used in the XmpComplexType instance. (inherited from XmpComplexType)
property_descriptors The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)

See Also