Click or drag to resize

ColorFormat Class

Represents the color of a one-color object
Inheritance Hierarchy
System Object
Spire.Presentation PptObject
Spire.Presentation.Drawing ColorFormat

Namespace: Spire.Presentation.Drawing
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public class ColorFormat : PptObject

The ColorFormat type exposes the following members.

Properties
Name Description
Public property B
Gets or sets the blue component of a color. Read/write Byte .
Public property Brightness
Get or set the brightness of the color. The value between -1 and 1.
Public property Color
Gets or Sets RGB colors. Read/write Color .
Public property ColorType
Gets or sets color type.
Public property G
Gets or sets the green component of a color. Read/write Byte .
Public property Hue
Gets or sets the hue component of a color in HSL representation. Read/write Single .
Public property KnownColor
Gets or sets the color preset. Read/write KnownColor .
Public property Luminance
Gets or sets the luminance component of a color in HSL representation. Read/write Single .
Public property Parent
Reference to Parent object. Read-only.
(Inherited from PptObject .)
Public property R
Gets or sets the red component of a color. All color transformations are ignored. Read/write Byte .
Protected property ReferenceCount (Inherited from PptObject .)
Public property Saturation
Gets or sets the saturation component of a color in HSL representation. Read/write Single .
Public property SchemeColor
Gets or sets the color identified by a color scheme. Read/write SchemeColor .
Public property SystemColor
Gets or sets the color identified by the system color table. Read/write SystemColor .
Public property Transparency
Get or set the transparency of the color. The value between 0 and 1.
Top
Methods
Name Description
Protected method AddReference (Inherited from PptObject .)
Protected method CheckDisposed (Inherited from PptObject .)
Public method Dispose
Dispose object and free resources.
(Inherited from PptObject .)
Public method Equals
Indicates whether the two ColorFormat instances are equal.
(Overrides Object Equals(Object) .)
Protected method Finalize (Inherited from PptObject .)
Protected method FindParent(Type) (Inherited from PptObject .)
Protected method FindParent( Type ) (Inherited from PptObject .)
Protected method FindParent(Type, Boolean) (Inherited from PptObject .)
Protected method FindParents (Inherited from PptObject .)
Public method GetHashCode (Overrides Object GetHashCode .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method OnDispose
Method which can be overriden by users to take any specific actions when object is disposed.
(Inherited from PptObject .)
Protected method ReleaseReference (Inherited from PptObject .)
Protected method SetParent (Inherited from PptObject .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_bIsDisposed (Inherited from PptObject .)
Top
See Also