AddText method example
Sub AddTextExample()
Dim sBuf As String
Dim oText As AcadText
Dim insPt(0 To 2) As Double
insPt(0) = 0: insPt(1) = 9
Dim dHeight As Double
dHeight = 1
sBuf = "Test string for the AddText method"
Set oText = ThisDrawing.ModelSpace.AddText(sBuf, insPt, dHeight)
oText.Update
ThisDrawing.Application.ZoomExtents
End Sub
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV
are fully owned subsidiaries of Menhirs NV. Copyright ©
2001- Menhirs NV - All rights reserved. |