Excel) (ThreeDFormat.ExtrusionColor 屬性
會傳回代表圖案立體化之色彩的 ColorFormat 物件。 唯讀。
語法
運算式。ExtrusionColor
表達 代表 ThreeDFormat 物件的 變數。
範例
本範例在 myDocument 中新增一個橢圓,然後使該橢圓深度 50 點高,並指定深度部分的色彩為紫色。
Set myDocument = Worksheets(1)
Set myShape = myDocument.Shapes.AddShape(msoShapeOval, _
90, 90, 90, 40)
With myShape.ThreeD
.Visible = True
.Depth = 50
.ExtrusionColor.RGB = RGB(255, 100, 255)
' RGB value for purple
End With
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。