Many thanks that's kinda of a relief, strangely do the signature of the transformation method is not the same as i'm using. Note i'm sending CurrentDocument.ProfileName for alt text as the second argument - CurrentDocument.ProfileImage being the first.
Eventhough there no such signature on the transformation method guide, it is working.
Any idea whether the other transformation methods can be used the same way? E.g. in a macro?