Copy link to clipboard
Copied
Hi All,
How to convert PMReal to int?
Regards,
Chinna
Hi Chinna,
there are two functions "int16 ToInt16(const PMReal&)" and "int32 ToInt32(const PMReal&)".
Markus
Copy link to clipboard
Copied
Hi Chinna,
there are two functions "int16 ToInt16(const PMReal&)" and "int32 ToInt32(const PMReal&)".
Markus
Copy link to clipboard
Copied
Hi Markus,
Thanks for your reply,
It gives the following error.
Error:No suitable conversion function from "PMReal" to "int16" Exists.
Copy link to clipboard
Copied
Hi Chinna,
did you include PMReal.h and how do you call the function?
Markus
Copy link to clipboard
Copied
Thank you Markus, it works.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more