Spread for ASP.NET 7.0 Product Documentation
DocumentMode Enumeration
Example  See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : DocumentMode Enumeration


Glossary Item Box

Determines how the Spread control renders content for a specific browser mode.

Syntax

Visual Basic (Declaration) 
Public Enum DocumentMode 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As DocumentMode
C# 
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.

Example

This example uses the DocumentMode enumeration.
C#Copy Code
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9;
VB.NETCopy Code
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9

Inheritance Hierarchy

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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.