word文档如何批量修改图片大小?

word

1个回答

写回答

kasimoo

2025-09-18 10:05

+ 关注

用宏可以轻松完成: Sub FormatPics(垂员临紧父) Dim iSha As InlineShape For Each iSha In ActiveDocument.InlineShapes If iSha.Type = wdInlineShapePicture Then iSha.LockAspectRat先海皇磁落区二担下io = msoFalse '不锁定纵横比 iSha.Width = CentimetersToPoints(5) '宽5CM iSha.Height = CentimetersToPoints(5) '高5CM End If Next End Sub

举报有用(4分享收藏

Copyright © 2025 IZhiDa.com All Rights Reserved.

知答 版权所有 粤ICP备2023042255号