feiniao999 发表于 2017-10-10 19:09:46

ShadowFormat对象

        ShadowFormat 对象
  请参阅 属性 方法 事件 特性
  Shapes (Shape)
  ShadowFormat
  ColorFormat
  代表形状的阴影格式。
  使用 ShadowFormat 对象
  使用 Shadow 属性返回单个 ShadowFormat 对象。以下示例向 myDocument 中添加带有阴影的矩形。半透明的蓝色阴影印在该矩形的右边 5 磅和上面 3 磅。
  Set myDocument = ActivePresentation.Slides(1)
  With myDocument.Shapes.AddShape(msoShapeRectangle, _
   50, 50, 100, 200).Shadow
   .ForeColor.RGB = RGB(0, 0, 128)
   .OffsetX = 5
   .OffsetY = -3
   .Transparency = 0.5
   .Visible = True
  End With

qin_jin 发表于 2017-10-11 05:12:58

不错,支持下

wulicrazy 发表于 2017-10-15 23:25:21

泗水社区就是牛逼,不错
页: [1]
查看完整版本: ShadowFormat对象