ColorFormat Class

Represents a color used in a presentation.
Inheritance Hierarchy

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public class ColorFormat : PVIObject, 
	IColorFormat, IFillParamSource

The ColorFormat type exposes the following members.

Properties
  NameDescription
Public propertyB
Returns or sets the blue component of a color. All color transformations are ignored. Read/write Byte.
Public propertyColor
Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write Color.
Public propertyColorTransform
Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection.
Public propertyColorType
Returns or sets the color definition method. Read/write ColorType.
Public propertyFloatB
Returns or sets the blue component of a color. All color transformations are ignored. Read/write Single.
Public propertyFloatG
Returns or sets the green component of a color. All color transformations are ignored. Read/write Single.
Public propertyFloatR
Returns or sets the red component of a color. All color transformations are ignored. Read/write Single.
Public propertyG
Returns or sets the green component of a color. All color transformations are ignored.
Public propertyHue
Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write Single.
Public propertyLuminance
Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write Single.
Public propertyPresetColor
Returns or sets the color preset. Read/write PresetColor.
Public propertyR
Returns or sets the red component of a color. All color transformations are ignored. Read/write Byte.
Public propertySaturation
Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write Single.
Public propertySchemeColor
Returns or sets the color identified by a color scheme. Read/write SchemeColor.
Public propertySystemColor
Returns or sets the color identified by the system color table. Read/write SystemColor.
Methods
  NameDescription
Public methodCopyFrom
Copy color format from "color".
Public methodEquals
Checks for equality with specified object.
(Overrides PVIObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns hash code.
(Overrides PVIObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToString(ColorStringFormat)
Returns a String that represents the current color format.
See Also