XmpCameraRawPackage

XmpCameraRawPackage class

Represents Camera Raw schema.

public sealed class XmpCameraRawPackage : XmpPackage

Constructors

Name Description
XmpCameraRawPackage() Initializes a new instance of the XmpCameraRawPackage class.

Properties

Name Description
AutoBrightness { get; set; } Gets or sets the AutoBrightness value. When true, Brightness is automatically adjusted.
AutoContrast { get; set; } Gets or sets the AutoContrast value. When true, “Contrast” is automatically adjusted.
AutoExposure { get; set; } Gets or sets the AutoExposure value. When true, “Exposure” is automatically adjusted.
AutoShadows { get; set; } Gets or sets the AutoShadows value. When true, “Shadows” is automatically adjusted.
BlueHue { get; set; } Gets or sets the BlueHue value. Null if undefined.
BlueSaturation { get; set; } Gets or sets the BlueSaturation. Null if undefined.
Brightness { get; set; } Gets or sets the Brightness value. Null if undefined.
CameraProfile { get; set; } Gets or sets the CameraProfile value.
ChromaticAberrationB { get; set; } Gets or sets the “Chromatic Aberration, Fix Blue/Yellow Fringe” setting. Null if undefined.
ChromaticAberrationR { get; set; } Gets or sets the “Chromatic Aberration, Fix Red/Cyan Fringe” setting. Null if undefined.
ColorNoiseReduction { get; set; } Gets or sets the Color Noise Reduction setting. Range 0 to 100.
Contrast { get; set; } Gets or sets the Contrast setting. Range -50 to 100.
Count { get; } Gets the number of metadata properties.
CropAngle { get; set; } Gets or sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle.
CropBottom { get; set; } Gets or sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle.
CropHeight { get; set; } Gets or sets the height of the resulting cropped image in CropUnits units.
CropLeft { get; set; } Gets or sets the CropLeft setting. When HasCrop is true, left of the crop rectangle.
CropRight { get; set; } Gets or sets the CropRight setting. When HasCrop is true, right of the crop rectangle.
CropTop { get; set; } Gets or sets the CropTop setting. When HasCrop is true, top of the crop rectangle.
CropUnits { get; set; } Gets or sets units for CropWidth and CropHeight.
CropWidth { get; set; } Gets or sets the width of the resulting cropped image in CropUnits units.
Exposure { get; set; } Gets or sets the Exposure setting.
GreenHue { get; set; } Gets or sets the Green Hue setting. Range -100 to 100.
GreenSaturation { get; set; } Gets or sets the Green Saturation setting. Range -100 to 100.
HasCrop { get; set; } Gets or sets the HasCrop value. When true, the image has a cropping rectangle.
HasSettings { get; set; } Gets or sets HasSettings value. When true, non-default camera raw settings.
Item { get; } Gets the MetadataProperty with the specified name.
Keys { get; } Gets a collection of the metadata property names.
LuminanceSmoothing { get; set; } Gets or sets the LuminanceSmoothing setting. Range 0 to 100.
MetadataType { get; } Gets the metadata type.
NamespaceUri { get; } Gets the namespace URI.
Prefix { get; } Gets the xmlns prefix.
PropertyDescriptors { get; } Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
RawFileName { get; set; } Gets or sets the file name for a raw file (not a complete path).
RedHue { get; set; } Gets or sets the Red Hue setting. Range -100 to 100.
RedSaturation { get; set; } Gets or sets the Red Saturation setting. Range -100 to 100.
Saturation { get; set; } Gets or sets the Saturation setting. Range -100 to 100.
Shadows { get; set; } Gets or sets the Shadows setting. Range 0 to 100.
ShadowTint { get; set; } Gets or sets the ShadowTint setting. Range -100 to 100.
Sharpness { get; set; } Gets or sets the Sharpness setting. Range 0 to 100.
Temperature { get; set; } Gets or sets the Temperature setting. Range 2000 to 50000.
Tint { get; set; } Gets or sets the Tint setting. Range -150 to 150.
Version { get; set; } Gets or sets the version of the Camera Raw plug-in.
VignetteAmount { get; set; } Gets or sets the Vignette Amount setting. Range -100 to 100.
VignetteMidpoint { get; set; } Gets or sets the Vignetting Midpoint setting. Range 0 to 100.
WhiteBalance { get; } Gets White Balance setting. Use SetWhiteBalance to set white balance value.
XmlNamespace { get; } Gets the XML namespace.

Methods

Name Description
virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.
Clear() Removes all XMP properties.
Contains(string) Determines whether the package contains a metadata property with the specified name.
virtual FindProperties(Func<MetadataProperty, bool>) Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well.
GetEnumerator() Returns an enumerator that iterates through the collection.
override GetXmpRepresentation() Converts the XMP value to the XML representation.
Remove(string) Removes the property with the specified name.
virtual RemoveProperties(Func<MetadataProperty, bool>) Removes metadata properties satisfying the specified predicate.
virtual Sanitize() Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
Set(string, bool) Sets boolean property.
Set(string, DateTime) Sets DateTime property.
Set(string, double) Sets double property.
Set(string, int) Sets integer property.
override Set(string, string) Adds string property.
virtual Set(string, XmpArray) Sets the value inherited from XmpArray .
virtual Set(string, XmpComplexType) Sets the value inherited from XmpComplexType .
Set(string, XmpValueBase) Sets the value inherited from XmpValueBase .
virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package.
SetWhiteBalance(XmpWhiteBalance) Sets the white balance.
virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.

See Also