|
楼主 |
发表于 2024-11-18 15:57
|
显示全部楼层
- Sub ddddd()
- Dim Shp As Shape, Shps As Shapes
- Set Shps = Application.ActivePresentation.Slides(3).Shapes
- For ii = Shps.Count To 1 Step -1
- Set Shp = Shps(ii)
- Shp.Delete
- Next ii
- Set Shp = Shps.AddShape(msoShapeOval, 100, 200, 10, 10)
- With Shp
- .Fill.Transparency = 1
- With .Line
- .Transparency = 0
- .Weight = 0.3
- End With
- End With
- Set Shp = Shps.AddCallout(msoCalloutOne, 100, 100, 100, 30)
- With Shp
- .Fill.Transparency = 1
- With .Line
- .Transparency = 0
- .Weight = 0.3
- End With
- End With
- Dim oCall As CalloutFormat
- Set oCall = Shp.Callout
- With oCall
- .Angle = msoCalloutAngle45
- .Accent = msoFalse
- .CustomLength 200
- .PresetDrop msoCalloutDropTop
- .Gap = 0
- .Border = msoTrue
- End With
- End Sub
复制代码
没有实现目标需求。
|
|