Forum Discussion
MSGreg
14 years agoVisitor
With roScreen you would read the binary file into a roBitmap, then use DrawScaleObject with bm.GetWidth() and bm.GetHeight()
With roImageCanvas you would use TargetRect. Which should work if already have the aspect ratio. You can get width and height and calculate aspect ratio of a local image file through roImageMetadata
Let us know how that works.
With roImageCanvas you would use TargetRect. Which should work if already have the aspect ratio. You can get width and height and calculate aspect ratio of a local image file through roImageMetadata
Let us know how that works.