Font-Objekt

  • Thread starter Thread starter lunatic
  • Start date Start date
L

lunatic

Guest
I try to initialize a Standard FontBox with the values that i have saved bevore in a XML-File.

Now i have the Problem that i only could tell him one Argument for style as example fontstyle.bold.

how can I tell them more like fontsytle.bold and fontstyle.italic and fontstyle.underline at this function

This is the Code without XML:

With DTMainwindow.DTFont
.ScriptsOnly = False
.ShowColor = False
.ShowEffects = False

.font = New Font("Arial", 12,FontStyle.Bold)

dret = .ShowDialog()
End With

Excuse my terrible english!

lunatic
 
try

.font = New Font("Arial", 12,FontStyle.Bold or FontStyle.Italic)

:)

intehhhhhh

SKOL Rulez!!!!!!!
 
Back
Top