[Read-only] This property returns a value corresponding to which HotDocs edition (Player, User, Developer, or Developer LE) is being used.
This property returns one of the following values from the HDPRODUCTFLAVOR enumeration:
| Name | Value | Description |
| PLAYER | 1 | HotDocs Player |
| STANDARD | 2 | HotDocs Developer LE |
| PROFESSIONAL | 3 | HotDocs Developer |
| USER | 4 | HotDocs User |
HotDocs.HDPRODUCTFLAVOR Flavor [ get ]
The following Visual C# example displays the HotDocs flavor in a message box:
program class ExampleCode
{
static void Main()
{
HotDocs.Application app = new HotDocs.Application();
switch (app.Flavor)
{
case HotDocs.HDPRODUCTFLAVOR.PLAYER:
MessageBox.Show("HotDocs Player");
break;
case HotDocs.HDPRODUCTFLAVOR.STANDARD:
MessageBox.Show("HotDocs Developer LE");
break;
case HotDocs.HDPRODUCTFLAVOR.PROFESSIONAL:
MessageBox.Show("HotDocs Developer");
break;
case HotDocs.HDPRODUCTFLAVOR.USER:
MessageBox.Show("HotDocs User");
break;
}
}
}