WorksheetView 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定的或活动工作簿中所有 WorksheetView 对象的集合。
public interface class WorksheetView
[System.Runtime.InteropServices.Guid("00024487-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface WorksheetView
Public Interface WorksheetView
- 属性
注解
通过使用 、 和 DisplayHeadings等DisplayFormulasDisplayGridlines属性来控制应用程序或工作簿级别视图的外观。
属性
Application |
在没有对象限定符的情况下使用时,此属性返回一个 _Application 表示 Microsoft Office Excel 应用程序的 对象。 与对象限定符一起使用时,此属性返回表示 _Application 指定对象的创建者的对象。 此为只读属性。 |
Creator |
返回一个 32 位整数,该整数指示在其中创建了此对象的应用程序。 此为只读属性。 |
DisplayFormulas |
返回或设置在当前工作表视图中是显示还是隐藏公式。 读/写。 |
DisplayGridlines |
如果显示网格线,则为 True。 读/写。 |
DisplayHeadings |
如此 如果 同时显示行标题和列标题;如果未显示标题,则为 False 。 读/写。 |
DisplayOutline |
如果显示分级显示符号,则为 True。 |
DisplayZeros |
如果显示零值,则为 True。 读/写 。 |
Parent |
返回指定对象的父对象。 只读。 |
Sheet |
返回指定 WorksheetView 对象的工作表名称。 此为只读属性。 |