Partilhar via


intent Attribute | Intent Property

Sets or retrieves the intended purpose for the color content of the object. The filter adjusts the color output to improve the display of content with the selected purpose.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.ICMFilter(
    intent = sIntent ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.ICMFilter").Intent [ = sIntent ]

Possible Values

sIntent
sIntent Integer that specifies or receives one of the following values.
Picture
Default. Maintains the relationship between colors; used with images and photographs.
Graphic
Maintains a color's saturation rather than its hue or lightness; used with charts and business graphics.
Proof
Selects the closest supported color if the output gamut does not support a given color. The white point is not preserved.
Match
Selects the closest supported color if the output gamut does not support a given color. The white point is preserved.

The property is read/write. The property has a default value of Picture.

Remarks

To take best advantage of your monitor or printer's color processing capability, choose the Intent value that best matches your content.

Applies To

ICMFilter

See Also

Scripting Filters, Filter Design Considerations