Can I convert IShape to PSShape or PSShape to IShape?

Posted by: gw.noh on 8 August 2021, 1:20 pm EST

  • Posted 8 August 2021, 1:20 pm EST

    I’m not sure which of the two classes is good to use. There are no required functions in classes with required events, and no required events in classes with required functions.

    So I’d like to link the two classes to the required events and functions, is there a way?

  • Posted 8 August 2021, 3:38 pm EST

    Hi,

    PSShape and IShape are not compatible with each other so it’s not possible to convert one to the other.

    IShape was introduced as the preferred Shape API since it is compatible with Excel’s Shapes. So, unless you need to use PSShape for any reason, it is recommended to use the new Shape API.

    Regards,

    Jitender

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels