TLayerCollection.GetViewportScale

procedure GetViewportScale(var ScaleX, ScaleY: Single);

Description

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.

See Also

Using Layers, TCustomImage32, TCustomImage32.ScaleX, TCustomImage32.ScaleY