LEADTOOLS Support
General
General Questions
Re: To set multi-line text for VECTOR_TEXT object
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, July 10, 2006 5:54:45 AM(UTC)
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.
#2
Posted
:
Wednesday, July 12, 2006 9:42:54 AM(UTC)
Groups: Registered
Posts: 17
#3
Posted
:
Wednesday, July 12, 2006 4:05:42 PM(UTC)
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 LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
LEADTOOLS Support
General
General Questions
Re: To set multi-line text for VECTOR_TEXT object
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.