How to resize picture affter added ?

2011-12-22
2013-05-20
  • nguyenvansu
    nguyenvansu
    2011-12-22

    Hi all,

    We added the picture into MS Word file by following source code sucessfully.
                Dispatch oImage = Dispatch.get(oSelection, "InLineShapes").toDispatch();
                Dispatch.call(oImage, "AddPicture", sImgFile);

    But how to resize height and width of picture after added ?

    Thank you very muc for your help.