This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, April 20, 2009 6:26:09 AM(UTC)
Groups: Registered
Posts: 9
I load an image and set a PaintSizeMode=smFit
How to detect PaintZoomFactor for this ?
VCL, v14.5.0.82
#2
Posted
:
Tuesday, April 21, 2009 3:31:08 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
You can calculate the Zoom Ratio in any mode (Fit, zoom, normal, etc.) by dividing the TLEADImage.DstWidth by TLEADImage.SrcWidth.
The result is a fractional number where 1.0 means 100% zoom, 0.5 means 50% and so on.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.