IColorFormat

IColorFormat interface

Represents a color used in a presentation.

public interface IColorFormat : IFillParamSource

Properties

Name Description
AsIFillParamSource { get; } Returns IFillParamSource interface. Read-only IFillParamSource.
B { get; set; } Returns or sets the blue component of a color. All color transformations are ignored. Read/write Byte.
Color { get; set; } Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write Color.
ColorTransform { get; } Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection.
ColorType { get; set; } Returns or sets the color definition method. Read/write ColorType.
FloatB { get; set; } Returns or sets the blue component of a color. All color transformations are ignored. Read/write Single.
FloatG { get; set; } Returns or sets the green component of a color. All color transformations are ignored. Read/write Single.
FloatR { get; set; } Returns or sets the red component of a color. All color transformations are ignored. Read/write Single.
G { get; set; } Returns or sets the green component of a color. All color transformations are ignored. Read/write Byte.
Hue { get; set; } Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write Single.
Luminance { get; set; } Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write Single.
PresetColor { get; set; } Returns or sets the color preset. Read/write PresetColor.
R { get; set; } Returns or sets the red component of a color. All color transformations are ignored. Read/write Byte.
Saturation { get; set; } Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write Single.
SchemeColor { get; set; } Returns or sets the color identified by a color scheme. Read/write SchemeColor.
SystemColor { get; set; } Returns or sets the color identified by the system color table. Read/write SystemColor.

Methods

Name Description
CopyFrom(IColorFormat) Copy color format from “color”.
ToString(ColorStringFormat) Returns a String that represents the current color format.

See Also