GradientFill类

GradientFill类

表示渐变填充。

继承: GradientFillFill

GradientFill 类型公开了以下成员:

特性

属性 描述
gradient_stops 表示渐变停止集合。
fill_type 获取渐变填充类型。
direction_type 获取渐变方向类型。
angle 线性填充的角度。

方法

方法 描述
set_two_color_gradient(color1, color2, style, variant) 将指定的填充设置为双色渐变。
仅适用于 Excel 2007。
set_two_color_gradient(color1, transparency1, color2, transparency2, style, variant) 将指定的填充设置为双色渐变。
仅适用于 Excel 2007。
set_gradient(type, angle, direction) 设置渐变填充类型和方向。
set_preset_theme_gradient(gradient_type, theme_color_type) 设置预设主题渐变填充。
set_one_color_gradient(color, degree, style, variant) 将指定的填充设置为单色渐变。
仅适用于 Excel 2007。

也可以看看