GetNoOfPages() As Integer

FormDef object

Returns the number of pages in the form definition, 1 or 2. (That is, 2 means the form definition is two-sided.)

The FormDef object