Aspose.Diagram API 允许应用预设主题以获得页面内和跨多个文档的形状的统一外观。为此,请执行以下步骤:
创建一个Diagram类的实例来加载一个diagram
获取要设置主题的Page类实例
将 Preset 值分配给 Page 实例的 PresetTheme 属性
将预设主题应用于页面编程示例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aspose.Diagram API 允许应用预设主题变体以获得页面内和跨多个文档的形状的统一外观。为此,请执行以下步骤:
创建一个Diagram类的实例来加载一个diagram
获取要设置主题的Page类实例
将 Preset 值分配给 Page 实例的 PresetTheme 属性
将 Preset 值分配给 Page 实例的 PresetThemeVariant 属性
将预设主题变体应用于页面编程示例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aspose.Diagram API 允许将预设主题快速样式应用于页面内的形状。为此,请执行以下步骤:
创建一个Diagram类的实例来加载一个diagram
获取要设置主题的Shape类实例
将 Preset 值分配给 Shape 实例的 PresetTheme 属性
将预设值分配给 Shape 实例的 PresetThemeVariant 属性
将预设值分配给 Shape 实例的 PresetThemeQuickStyle 属性
将预设主题变体 Quickstyle 应用于形状编程示例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters