看看如下方法是否可行
Sub mycrop() '将嵌入式图片按原始高度裁剪成四分之一 Dim myheight As Single, mywidth As Single Dim oheight As Single, owidth As Single ' If ActiveDocument.InlineShapes.Count > 0 Then With ActiveDocument.InlineShapes(1) myheight = .Height '取得现图片高度 mywidth = .Width '现图片宽度 .Reset oheight = .Height '图片原始高度 owidth = .Width '图片原始宽度 .PictureFormat.CropBottom = oheight * 0.5 .PictureFormat.CropRight = owidth * 0.5 .Height = oheight * 0.5 .Width = owidth * 0.5 End With End If End Sub 最后结果可能有误差,不知何解
[此贴子已经被作者于2007-3-19 12:38:26编辑过] |