Sunday, February 05, 2012
adding textbox borders to textbox in draft env
Last Post 27 Jan 2010 12:18 AM by JR. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
TerryUser is Offline
New Member
New Member
Posts:1

--
26 Jan 2010 05:37 PM  

I am working a project to build a tree structure in SE draft environment using VBA in excel.  I know how to add the text but I need to place a border (box, rectangle, square shape) around the text. I have looked at the VBA object browser but not sure if I am using the class methods correctly - unable to add borders.

Thanks for any help

JRUser is Offline
New Member
New Member
Posts:91

--
27 Jan 2010 12:18 AM  
If you place the text as a TextBox, you can use:
Dim objTxts As SolidEdgeFrameworkSupport.TextBoxes
Dim objtxt As SolidEdgeFrameworkSupport.TextBox
...
Set objtxt = objTxts.Add(0, 0, 0)
objtxt.Text = "Your text"
objtxt.BorderType = igTextBorderRectangle
objtxt.BorderOffset = 0.001

Regards
JR
You are not authorized to post a reply.

Active Forums 4.2
Copyright © 2011 JasonNewell.NET