gowthaman
October 25th, 2009, 05:27 AM
Hi.
I need to create and add a text object in crystal report at runtime in visual basic dotnet
It is possible in visual basic like the below example code.
Dim ObjTxt As TextObject
Set ObjTxt = Reportdocument.Section3.AddTextObject(Trim(Name), 9450, S)
With ObjTxt
.Width = 500
.Height = 200
.Font.Bold = False
.Font.Size = 9
.Font.Name = "Courier New"
.Font.Underline = False
End With
I need to convert this code into visual basic.net.
kindly suggest.
I need to create and add a text object in crystal report at runtime in visual basic dotnet
It is possible in visual basic like the below example code.
Dim ObjTxt As TextObject
Set ObjTxt = Reportdocument.Section3.AddTextObject(Trim(Name), 9450, S)
With ObjTxt
.Width = 500
.Height = 200
.Font.Bold = False
.Font.Size = 9
.Font.Name = "Courier New"
.Font.Underline = False
End With
I need to convert this code into visual basic.net.
kindly suggest.