WebFrameView类参考
来源:互联网 发布:大淘客cms收费吗 编辑:程序博客网 时间:2024/04/29 06:51
WebFrameView类参考
NSCoding(NSResponder)
NSObject的(NSObject的) WebFrameView
对象及其子视图显示的网页内容包含在框架中。 你永远不创建直接WebFrameView
实例——WebView
对象创建和管理WebFrameView
对象,为每个框架。 WebFrameView
对象使用一个滚动视图,它的文档视图符合WebDocumentView
协议。
Returns a Boolean value indicating whether users can scroll. - (BOOL)allowsScrolling Returns a Boolean value indicating whether the receiver can print headers and footers. - (BOOL)canPrintHeadersAndFooters Returns the subview that displays the web content. - (NSView < WebDocumentView > *)documentView The subview that displays the web content. Use Returns a Boolean value indicating whether the document view should handle a print operation. - (BOOL)documentViewShouldHandlePrint If this method returns Prints the receiver. - (void)printDocumentView This method is invoked if the Returns a print operation object to print this frame. - (NSPrintOperation *)printOperationWithPrintInfo:(NSPrintInfo *)printInfo Information about the print settings needed to print this frame. See NSPrintInfo Class Reference for more information about this object. An Sets whether the frame view should allow users to scroll. - (void)setAllowsScrolling:(BOOL)flag If Returns the web frame. - (WebFrame *)webFrame The web frame.任务
获取Web框架
– webFrame
使用子视图
– documentView
设置滚动
– setAllowsScrolling:
– allowsScrolling
打印视图
– canPrintHeadersAndFooters
– printOperationWithPrintInfo:
– documentViewShouldHandlePrint
– printDocumentView
Instance Methods
allowsScrolling
Return Value
YES
if the receiver allows users to scroll; otherwise, NO
.Availability
See Also
– setAllowsScrolling:
Declared In
WebFrameView.h
canPrintHeadersAndFooters
Return Value
YES
if the receiver can print headers and footers; otherwise, NO
.Availability
Declared In
WebFrameView.h
documentView
Return Value
Discussion
setAllowsScrolling:
to enable scrolling of this view.Availability
Declared In
WebFrameView.h
documentViewShouldHandlePrint
Return Value
YES
if the document view should handle the print operation; otherwise, NO
.Discussion
NO
, the application terminates its print operation and sends printDocumentView
to the web frame view.Availability
Declared In
WebFrameView.h
printDocumentView
Discussion
documentViewShouldHandlePrint
method returns NO
.Availability
Declared In
WebFrameView.h
printOperationWithPrintInfo:
Parameters
Return Value
NSPrintOperation
object set up to print this frame. See NSPrintOperation Class Reference for more information about this object.Availability
Declared In
WebFrameView.h
setAllowsScrolling:
Parameters
YES
, scrolling is allowed; if NO
, it is not. If the frame contains a scrolling element, then that value is used as the default; otherwise, the default is YES
.Availability
See Also
– allowsScrolling
Declared In
WebFrameView.h
webFrame
Return Value
Availability
Declared In
WebFrameView.h
- WebFrameView类参考
- QSocket类参考
- DataGridCheckBoxColumn类参考
- DataGridComboBoxColumn类参考
- DataGridDateTimePickerColumn类参考
- DataGridSexBoxColumn类参考
- DataGridTextColumn类参考
- BriskDataGrid类参考
- EzUSB 类 参考
- Flex RemoteObject类参考
- Flex RemoteObject类参考
- 类QSettings使用参考
- WebView类参考
- WebFrame类参考
- DBHelper类参考
- [QT] QDataStream类参考
- [QT] QDataStream类参考
- QIODevice类参考
- FORMLOAD中关闭窗体
- 正则表达式
- [转]asp:UpdatePanel中FileUpload控件应用问题
- /EMERGENCY_BOOT
- GridView小应用随记(1)
- WebFrameView类参考
- 异步IO、APC、IO完成端口、线程池与高性能服务器
- 在Zend Framework中自动加载(Learning Zend Framework翻译2)
- java script 获得Label控件内容
- VMware 访问主机共享文件夹的配置
- 严重: Null component Catalina:type=JspMonitor,java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to
- sa登陆失败 SQL Server错误18456的解决方法
- 在Windows2003下安装SQL Server 2000
- 人生必读的经典书籍