Spread for ASP.NET 11 Product Documentation
DocumentMode Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : DocumentMode Property
Indicates which mode is used to render content properly.
Syntax
'Declaration
 
Public Property DocumentMode As DocumentMode
'Usage
 
Dim instance As FpSpread
Dim value As DocumentMode
 
instance.DocumentMode = value
 
value = instance.DocumentMode
public DocumentMode DocumentMode {get; set;}
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 property.
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9;
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9
See Also

Reference

FpSpread Class
FpSpread Members