Here is a macro:
Dim OrigSelection As shapeRange Set OrigSelection = ActiveSelectionRange OrigSelection.ApplyEffectInvert'OrigSelection.Shapes(1).ApplyEffectInvert 'Does not work either
When calling either of these methods with a bitmap selected, the bitmap does not change.
When recording a macro and doing Effects > Transform > Invert Colors from the menu, no action is recorded.
We did find a workaround for this in our use case, but I am reporting it regardless.
Thank you for reporting. I have previously logged this for Corel. Hopefully that will get it fixed.
-Shelby
After they implemented the non-destructive effects, everything has changed. This previous encoding no longer controls bitmap effects! In the following link you have a try on how to get started with this new coding...
Dados de curva de tom em VBA - CorelDRAW e Corel DESIGNER API - Área do desenvolvedor - Comunidade CorelDRAW