Click or drag to resize

ColorScheme Class

Represents a color scheme, which is a set of eight colors used for the different elements of a slide, notes page, or handout, such as the title or background.
Inheritance Hierarchy
System Object
Spire.Presentation PptObject
Spire.Presentation.Drawing ColorScheme

Namespace: Spire.Presentation.Drawing
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public class ColorScheme : PptObject, 
	IActiveSlide, IActivePresentation

The ColorScheme type exposes the following members.

Properties
Name Description
Public property Accent1
First accent color in the scheme. Read-only ColorFormat .
Public property Accent2
Second accent color in the scheme. Read-only ColorFormat .
Public property Accent3
Third accent color in the scheme. Read-only ColorFormat .
Public property Accent4
Fourth accent color in the scheme. Read-only ColorFormat .
Public property Accent5
Fifth accent color in the scheme. Read-only ColorFormat .
Public property Accent6
Sixth accent color in the scheme. Read-only ColorFormat .
Public property Dark1
First dark color in the scheme. Read-only ColorFormat .
Public property Dark2
Second dark color in the scheme. Read-only ColorFormat .
Public property FollowedHyperlink
Color for the visited hyperlinks. Read-only ColorFormat .
Public property HyperlinkColor
Color for the hyperlinks. Read-only ColorFormat .
Public property Item
Gets the element at the specified index. Read-only ColorFormat .
Public property Light1
First light color in the scheme. Read-only ColorFormat .
Public property Light2
Second light color in the scheme. Read-only ColorFormat .
Public property Parent
Reference to Parent object. Read-only.
(Inherited from PptObject .)
Public property Presentation
Protected property ReferenceCount (Inherited from PptObject .)
Public property Slide
Gets the parent slide. Read-only ActiveSlide .
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 (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
Serves as the default hash function.
(Inherited from Object .)
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