Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, July 10, 2006 5:54:45 AM(UTC)

PV2006  
PV2006

Groups: Registered
Posts: 17


    I created a new layer, placed new VECTOR_TEXT object on it with some text.
   
    Set NewObject = LEADVector1.AddNewObject(VECTOR_TEXT)
    NewObject.Text = "ABC, XYZ, 09/09/2006"
       
    But I would like to have the multi-line text like
   
    ABC
    XYZ
    09/09/2006

   
    I couldn't find any API to do this programmatically. Could someone please help me?
   
    Thank you.
   
   
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, July 12, 2006 9:42:54 AM(UTC)

PV2006  
PV2006

Groups: Registered
Posts: 17


Any ideas??
 
#3 Posted : Wednesday, July 12, 2006 4:05:42 PM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

You can do that by inserting New Line or Line Feed characters inside the string
(vbNewLine or vbLf). For example:
NewObject.Text = "ABC" + vbLf + "XYZ" + vbLf + "09/09/2006"

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.041 seconds.