您的位置:首页 > 编程语言 > VB

VBA 图形里面加载指定图片 实现预览功能

2015-01-03 13:15 489 查看
With ActiveSheet.Shapes.AddPicture(path, msoTrue, msoTrue, Px + 30, Py - 180, 120, 100)
.Name = "Picture"
With .ForeColor
.Type = 2
End With
'.BackgroundStyle = 5

With .PictureFormat
' .CropLeft = 100
'.TransparencyColor = "0,0,0"
'.TransparentBackground = msoCTrue
End With
With .Shadow
.Blur = 2
.Type = msoShadow25
.Obscured = 1
' .OffsetX = 10
' .OffsetY = 10
.Transparency = 0.5686300099

End With

End With
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐