G
Guest
Hi EveryBody
when i execute the code:
Dim rtftext As New RichTextBox
rtftext.Font = New Font("Courier New", 11)
Debug.WriteLine(rtftext.Font.Name & " " & rtftext.Font.Size)
Debug.WriteLine(rtftext.SelectionFont.Name & " " &
rtftext.SelectionFont.Size)
The result is:
Courier New 11
Courier New 11.25
why ist the Font.Size and the SelectionFont.Size not the same?
what can i do that there are the same?
Any help or redirection will be appreciated
regard's
Mario
when i execute the code:
Dim rtftext As New RichTextBox
rtftext.Font = New Font("Courier New", 11)
Debug.WriteLine(rtftext.Font.Name & " " & rtftext.Font.Size)
Debug.WriteLine(rtftext.SelectionFont.Name & " " &
rtftext.SelectionFont.Size)
The result is:
Courier New 11
Courier New 11.25
why ist the Font.Size and the SelectionFont.Size not the same?
what can i do that there are the same?
Any help or redirection will be appreciated
regard's
Mario