Procedure TWPShadedForm.AutoSizeForm(MargRight:Integer; MargBottom:Integer)Unit: WPUtilClass: WPUtil.TWPShadedFormParameters MargRight:Integer MargBottom:Integer Description This method adjust the form to the size of the content. The margins are measured in the default pixel per inch.