Message 1 of 6
Color and Rotation of TextBox on DrawingSketch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all. I have two questions.
1) I want to change color of textbox on DrawingSketch. But still without any efect.
Set oTextBox = oSketch.TextBoxes.AddFitted(oTG.CreatePoint2d(oSheet.Width / 2, oSheet.height / 2), "<StyleOverride FontSize='2' Bold='True'>Vzor</StyleOverride>")
oTextBox.Color = Color(128, 128, 128)
oTextBox.VerticalJustification = kAlignTextMiddle
2) Exist any way to rotate this text to 45deg? I know that rotation of textbox object is limited to 0, pi/2, pi, and 1.5pi
Can you help me? Thanks
Martin
1) I want to change color of textbox on DrawingSketch. But still without any efect.
Set oTextBox = oSketch.TextBoxes.AddFitted(oTG.CreatePoint2d(oSheet.Width / 2, oSheet.height / 2), "<StyleOverride FontSize='2' Bold='True'>Vzor</StyleOverride>")
oTextBox.Color = Color(128, 128, 128)
oTextBox.VerticalJustification = kAlignTextMiddle
2) Exist any way to rotate this text to 45deg? I know that rotation of textbox object is limited to 0, pi/2, pi, and 1.5pi
Can you help me? Thanks
Martin