Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPlusX - Highlighting text within Text
Message
From
18/02/2008 04:01:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Title:
GdiPlusX - Highlighting text within Text
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01293387
Message ID:
01293387
Views:
59
Dear All,

Is there way to highlight part of multiline string (text) while
drawing it
.
.
lcText= "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla facilisi. "+ ;
    "Quisque dolor leo, sollicitudin a, porta vel, faucibus id, nunc. Suspendisse mollis nonummy... "

.
.
loStringFormat.alignment = .StringAlignment.Far
oGfx.DrawString(lcText, loFont, loTextBrush, loPathRect , loStringFormat)
.
.
I need to have let say 'Quisque dolor leo' part of text highlighted in some way. Note that text writing could be differently adjusted; Left right etc.

Is this possible in any way ?


TIA
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Reply
Map
View

Click here to load this message in the networking platform