Table of Contents

Class OdfDesignTheme

Namespace
OdfKit.Styles
Assembly
OdfKit.dll

Provides the OdfDesignTheme API. 表示高階 builder 可共用的文件設計主題。

public sealed class OdfDesignTheme
Inheritance
OdfDesignTheme
Inherited Members

Constructors

OdfDesignTheme()

Performs odf design theme. 初始化 OdfDesignTheme 類別的新執行個體。

public OdfDesignTheme()

Properties

ConnectorColor

Gets the ConnectorColor value. 取得或設定連接線與線段的預設色彩。

public string ConnectorColor { get; set; }

Property Value

string

Flowchart

Performs flowchart. 取得適合流程圖與架構圖的內建主題。

public static OdfDesignTheme Flowchart { get; }

Property Value

OdfDesignTheme

Name

Gets the Name value. 取得或設定主題名稱。

public string Name { get; set; }

Property Value

string

StrokeColor

Gets the StrokeColor value. 取得或設定一般圖形的預設邊框色彩。

public string StrokeColor { get; set; }

Property Value

string

Methods

GetAccentFillColor(int)

Gets accent fill color. 依序號取得圖形填滿色彩。

public string GetAccentFillColor(int index)

Parameters

index int

圖形序號

Returns

string

對應的填滿色彩

WithAccentFillColors(params string[])

Performs with accent fill colors. 取代主題使用的強調填滿色彩序列。

public OdfDesignTheme WithAccentFillColors(params string[] colors)

Parameters

colors string[]

色彩序列

Returns

OdfDesignTheme

目前主題執行個體