Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / DocumentMode Property
Example


In This Topic
    DocumentMode Property
    In This Topic
    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.
    See Also