會傳回代表圖案立體化之色彩的 ColorFormat 物件。 唯讀。
語法
expression。 ExtrusionColor
運算式 代表 ThreeDFormat 物件的變數。
傳回值
ColorFormat
範例
此範例將橢圓形加入 myDocument,然後指定橢圓形拉伸至 50 點深度,且拉伸為紫色。
Set myDocument = ActivePresentation.Slides(1)
Set myShape = myDocument.Shapes _
.AddShape(msoShapeOval, 90, 90, 90, 40)
With myShape.ThreeD
.Visible = True
.Depth = 50
'RGB value for purple
.ExtrusionColor.RGB = RGB(255, 100, 255)
End With
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。