让十字光标全屏
Set the crosshairs to full screen
VB.NET
Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.Interop
<CommandMethod("PrefsSetCursor")> _
Public Sub PrefsSetCursor()
'' This example sets the crosshairs of the AutoCAD drawing cursor
'' to full screen.
'' Access the Preferences object
Dim acPrefComObj As AcadPreferences = Application.Preferences
'' Use the CursorSize property to set the size of the crosshairs
acPrefComObj.Display.CursorSize = 100
End Sub
VB.NET为每一个控件创建气泡提示
隐藏滚动条
欢迎关注微信公众账号ByCAD