procedure GetViewportScale(var ScaleX, ScaleY: Single);
Returns the X and Y scale of the viewport. In the default implementation this equals the ScaleX and ScaleY property of the connected TCustomImage32 descendant.
Note: If you previously used CoordXForm property (now removed), use GetViewportScale instead to retrieve the viewport scale.