05-26-2011, 01:05 PM
Hi,
How to get the font properties ( Color, Size, Bold , Italic ... ) of a text inside a WpfEdit control.
What I am using is :" WpfWindow("TruBioPC").WpfEdit("NotesTextarea").Object.FontSize
which returns the font size.
But I need to get the other properties.
All of these return empty values.
Any help appreciated...
Thanks in advance
How to get the font properties ( Color, Size, Bold , Italic ... ) of a text inside a WpfEdit control.
What I am using is :" WpfWindow("TruBioPC").WpfEdit("NotesTextarea").Object.FontSize
which returns the font size.
But I need to get the other properties.
Code:
WpfWindow("TruBio PC").WpfEdit("NotesTextarea").Object.Foreground
WpfWindow("TruBio PC").WpfEdit("NotesTextarea").Object.FontStyle
WpfWindow("TruBio PC").WpfEdit("NotesTextarea").Object.FontFamily
WpfWindow("TruBio PC").WpfEdit("NotesTextarea").Object.FontWeight
All of these return empty values.
Any help appreciated...
Thanks in advance