Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPlusX and FontStyles
Message
De
31/12/2007 03:21:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Divers
Thread ID:
01277925
Message ID:
01278574
Vues:
20
Hi Bo,

Will try that.

Thks+++


>Hi Srdjan,
>
>Probably the most reliable way is to use the BITOR function:
>
>WITH _SCREEN.System.Drawing
> loFont1 = .Font.New("Arial",14, ;
>        BITOR(.FontStyle.BoldItalic, .FontStyle.Underlined))
>
> loFont2 = .Font.New("Arial",14, ;
>        BITOR(.FontStyle.Italic, .FontStyle.StrikeOut))
>ENDWITH
>
>
>You can add them together also, but if you combine attributes like BoldItalic+Bold, you will get undesirable results:
>
>WITH _SCREEN.System.Drawing
> loFont1 = .Font.New("Arial",14, ;
>        .FontStyle.BoldItalic + .FontStyle.Underlined)
>
> loFont2 = .Font.New("Arial",14, ;
>        .FontStyle.Italic + .FontStyle.StrikeOut)
>ENDWITH
>
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform