L
Les2011
Guest
I am trying to compare 2 font variables that may or may not be the same. As an example:
FontVar as New Font("Microsoft Sans Serif",18,FontStryl.Italic)
2 other variables designated as fonts
F7 as New Font("Ariel",18,FontStyle.Regular)
F8 as New Font("Microsoft Sans Serif",18,FontStyle.Italic)
What I want to do is test if F7 or F8 matches FontVar
I tried
If F7=FontVar then
Elseif F8=FontVar then
Endif
Operator = is not defined for type Fonts
I am confused
Appreciate any help here
Les
Continue reading...
FontVar as New Font("Microsoft Sans Serif",18,FontStryl.Italic)
2 other variables designated as fonts
F7 as New Font("Ariel",18,FontStyle.Regular)
F8 as New Font("Microsoft Sans Serif",18,FontStyle.Italic)
What I want to do is test if F7 or F8 matches FontVar
I tried
If F7=FontVar then
Elseif F8=FontVar then
Endif
Operator = is not defined for type Fonts
I am confused
Appreciate any help here
Les
Continue reading...