Question
get current scaling
Hi.
Could you please help me to figure out the next problem? I try to get current scaling percent, but my code always returns the same value 1.02940 and does not become updated when I change scaling. Could you please help me to figure out with this? I use the following code:
InterfacePtr<ITransform> xform(this, UseDefaultIID());
if (xform != nil) {
PMReal scaleX = xform->GetItemScaleX();
PMReal scaleY = xform->GetItemScaleY();
}
this is inherited from CGraphicFrameShape class.
Thanks for any help.
Could you please help me to figure out the next problem? I try to get current scaling percent, but my code always returns the same value 1.02940 and does not become updated when I change scaling. Could you please help me to figure out with this? I use the following code:
InterfacePtr<ITransform> xform(this, UseDefaultIID());
if (xform != nil) {
PMReal scaleX = xform->GetItemScaleX();
PMReal scaleY = xform->GetItemScaleY();
}
this is inherited from CGraphicFrameShape class.
Thanks for any help.