Back to Devexpress

OfficeColor Class

officefileapi-devexpress-dot-docs-6575aa80.md

latest4.6 KB
Original Source

OfficeColor Class

A color used in Office documents.

Namespace : DevExpress.Docs

Assembly : DevExpress.Docs.Core.v25.2.dll

NuGet Package : DevExpress.Docs.Core

Declaration

csharp
public class OfficeColor
vb
Public Class OfficeColor

The following members return OfficeColor objects:

Show 31 links

Remarks

The OfficeColor class includes a unified representation of colors that you can use in Office documents. It supports multiple color models including RGB, scRGB, HSL, theme scheme colors, preset colors, and system colors.

Use the Type property to determine the color type, and the corresponding properties (RgbColor, SchemeColor, HSL, etc.) to access the specific color value.

The Transforms property allows you to apply color transformations such as tint, shade, or alpha modifications.

Inheritance

Object OfficeColor

See Also

OfficeColor Members

DevExpress.Docs Namespace