1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

How to resize images in Word Automation using Progress 4GL

Discussão em 'StackOverflow' iniciado por fdantas, Dezembro 16, 2014.

  1. fdantas

    fdantas Administrator Moderador

    Using the InlineShapes method to insert an image in a Word document, as in:

    chShapes = chRange:InlineShapes.

    chShapes:AddPicture("C:\myfiles\logo.png").

    That works fine.

    When I try to address the shape, however, I get "the requested member of the collection does not exist".

    Tried using: chShape = chShapes:ITEM(1).

    For some reason, chShapes:count returns zero, even though I successfully added the image to the document.

    Any help would be appreciated.

    Continue reading...

Compartilhe esta Página