IFormRegionFactory Interface
Defines an interface that creates instances of classes that implement IFormRegion.
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
| Name | Description | |
|---|---|---|
![]() | CreateFormRegion(FormRegion^) | Returns an instance of a class that implements the IFormRegion interface. |
![]() | GetFormRegionStorage(Object^, OlFormRegionMode, OlFormRegionSize) | Returns an Outlook Form Storage (.ofs) file. |
![]() | IsDisplayedForItem(Object^, OlFormRegionMode, OlFormRegionSize) | Returns a value that indicates whether the form region should appear for the specified Microsoft Office Outlook item. |
The IFormRegionFactory interface defines methods that are used by Microsoft Office Outlook and the Outlook add-in to create instances of classes that implement IFormRegion.
When you add an Outlook Form Region item to an Outlook add-in project, Visual Studio adds a form region factory class to the project that implements the IFormRegionFactory interface.
You can also manually create a form region factory class that implements the IFormRegionFactory interface. If you do this, you must also create a form region class that implements IFormRegion.
Create an instance of the form region class in the CreateFormRegion method of the form region factory class.

