VB.NET
Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.Interop
<CommandMethod("PrefsSetDisplay")> _
Public Sub PrefsSetDisplay()
'' This example disables the scroll bars
'' Access the Preferences object
Dim acPrefComObj As AcadPreferences = Application.Preferences
'' Disable the scroll bars
acPrefComObj.Display.DisplayScrollBars = False
End Sub
https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2016 ... E1AC51A-CDD6-4CD5-8703-3D3A472BFFC5-htm.html
[本日志由 tiancao1001 于 2018-09-17 11:35 AM 编辑]
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! |