DocumentBase.FormsDesign Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the document is in form design mode.
public bool FormsDesign { get; }
Property Value
true if the document is in form design mode; otherwise, false.
Remarks
This property always returns false if it is used in code run from Microsoft Office Word, but it returns the correct value if it is run through automation. For example, if you run the example from Microsoft Office Excel, it returns true if you are in design mode.