To write for Single line text
in VB6 when we use vbCrLf it work and come in new line but in .net it is not working
is therre any other way to do same thing.
Dim Str1 As String = " This is Test for First Line" Dim str2 As String = " This is Test for Second Line" Dim Str3 As String = Str1 & vbCrLf & str2 Dim acText As DBText = New DBText() acText.SetDatabaseDefaults() acText.Position = ed.GetPoint("click Point To Insert").Value acText.Height = 1 acText.TextString = Str3.ToString acBlkTblRec.AppendEntity(acText) acTrans.AddNewlyCreatedDBObject(acText, True)
Thanks for help.
I may be wrong, but I didn't think Text used formatting characters.
What does the actual string look like when it's added ??
Everything will work just as you expect it to, unless your expectations are incorrect.
class keyThumper<T> : Lazy<T>; another Swamper
Access a broad range of knowledge to help get the most out of your products and services.