ISProfileForm.PrintMethod

Description

The print method of the form.

0 pmDefault
1 pmMacro
2 pmStructuredText
3 pmDocumentTemplate

Syntax

object.PrintMethod

Part Attribute Type Description
object Required
The object always implements the ISProfileForm interface

Return Value

int

Example

Display some information about the form, including its print method.

Dim aForm
Dim aMessage

Set aForm = Profile.Form
aMessage = "Form Info: " & vbNewLine & vbNewLine &_
  "- Caption: " & aForm.Caption & vbNewLine &_
  "- Type Name: " & aForm.TypeName & vbNewLine &_
  "- ID: " & aForm.ID & vbNewLine &_
  "- Name: " & aForm.Name_ & vbNewLine &_
  "- Height: " & aForm.Height & vbNewLine &_
  "- Width: " & aForm.Width & vbNewLine &_
  "- Is Modified: " & aForm.IsModified & vbNewLine &_
  "- Activate Priority: " & aForm.ActivatePriority & vbNewLine &_
  "- Form Status: " & aForm.FormStatus & vbNewLine &_
  "- Print Method: " & aForm.PrintMethod  
  
Profile.MsgBox(aMessage)
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Print Method cannot be found.

Version information

Added in v7.8.0