AutoCAD .NET API基础(一) AutoCAD 对象层次结构(2)

2The Document Object    Document对象

The Document object, which is actually an AutoCAD drawing, is part of the DocumentCollection object and provides access to the Database object which is associated with the Document object. The Database object contains all of the graphical and most of the nongraphical AutoCAD objects. For more information on the Database object, see The Database Object.

Document对象,实际上就是一个AutoCAD图形,是DocumentCollection对象的一部分,提供了访问与Document对象相关联的Database对象的功能。Database对象包含AutoCAD全部的图形对象和大部分非图形对象。Database对象的更多信息参见Database对象。

Along with the Database object, the Document object provides access to the the drawing status bar, the window the document is opened in, the Editor and TransactionManager objects. The Editor object provides access to functions used to obtain input from the user in the form of a point or an entered string or numeric value. For more information on requesting input from the user, see Prompt for User Input.

Document对象连同Database对象一起,提供了对图形状态栏、图形窗口、编辑器(Editor)及事务管理(TransactionManager)对象的访问。Editor对象提供了获取用户输入的功能,用户输入的形式如一个点、一个键入的字串或数值等。更多的请求用户输入的信息,见用户输入提示

The Transaction Manager object is used to access multiple database objects under a single operation known as a transaction. Transactions can be nested, and when you are done with a transaction you can commit or abort the changes made. For more information on transactions and the Transaction Manager object, see Use Transactions with the Transaction Manager.

事务管理对象用来在被称为事务(transaction)的单一操作中管理多个数据库对象。事务可被嵌套,当与事务打交道时,你可以提交或终止所做的改变。更多的关于事务和事务管理的信息,请参见事务和事务管理

 

                                

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值