Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPlusX - Highlighting text within Text
Message
De
18/02/2008 04:01:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Titre:
GdiPlusX - Highlighting text within Text
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01293387
Message ID:
01293387
Vues:
61
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
Répondre
Fil
Voir

Click here to load this message in the networking platform