Navigation: Ultimate Suite for PowerBuilder Help > Image Editor > Functions >

of_autofit

Send comments on this topic.

 

Description:

 

Puts the loaded image into an "auto fit" state. The image will scale to the size of the image editor container. The Auto Fit toggle will turn on and the Zoom buttons will disable. When the Image Editor resizes, the image will scale with the new size. 

Syntax:

of_autofit ()

Return Value:

Always returns 1.

Usage:

 


Copyright © 2021 Werysoft Inc.