PM_PictureFit

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

Const.PM_PictureFit

Applications and the framework send the Const.PM_PictureFit to cPictureDataItem objects to change the way a picture is scaled.

Parameters

Name Description
nWhat = wParam Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute.
nFit = lParam New scaling method. Possible values are Sys.PIC_FitScale, Sys.PIC_FitBestFit, Sys.PIC_FitSizeToFit.

Returns

When nWhat = Const.METHOD_Inquire, the return value is TRUE if nFit is not equal to the current setting.

When nWhat = Const.METHOD_Execute, the return value is TRUE.