Spread for ASP.NET 11 Product Documentation
DocumentMode Enumeration
Example Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : DocumentMode Enumeration
Determines how the Spread control renders content for a specific browser mode.
Syntax
'Declaration
 
Public Enum DocumentMode 
   Inherits System.Enum
'Usage
 
Dim instance As DocumentMode
public enum DocumentMode : System.Enum 
Members
MemberDescription
IE10Indicates the Spread will render content for Internet Explorer 10
IE11Indicates the Spread will render content for Internet Explorer 11
IE7Indicates the Spread will render content for Internet Explorer 7
IE8Indicates the Spread will render content for Internet Explorer 8
IE9Indicates the Spread will render content for Internet Explorer 9
NotSetDefault value. The Spread control automatically detects the mode that the browser is using so it can render content properly.
Remarks
DocumentMode should only be used when the page explicitly uses META tags to specify the browser mode in Internet Explorer. For example, the following META tag specifies the browser mode for Internet Explorer 9: <meta http-equiv="x-ua-compatible" content="IE=9">. In this case, Spread cannot detect the browser mode, and it must be specified using the DocumentMode property in code.
Example
This example uses the DocumentMode enumeration.
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9;
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.DocumentMode

See Also

Reference

FarPoint.Web.Spread Namespace