09-14-2017 04:09 AM
Dear
As the subject, how to Use API set defaultt Font Size for Report View.
I want set "Small" as default, Thanks!
Solved! Go to Solution.
09-19-2017 09:21 AM
Are you doing this in a custom UI or in the Sequence Editor?
09-19-2017 09:00 PM
Yes, I build my own Custom UI by TS, can you help me?
09-21-2017 11:26 PM
@TabZhang wrote:
Yes, I build my own Custom UI by TS, can you help me?
What language are you using. Here is a picture on how to do it in LabVIEW:
09-21-2017 11:33 PM - edited 09-21-2017 11:34 PM
Hi jiggawax
I am using C#, but "axReportView1.TextReportFont.Size" is read only, I can't set it, what should i do? thanks!
BR
Tab
09-21-2017 11:37 PM
That seems odd because in LabVIEW I can write to it.
09-21-2017 11:40 PM
Also, check out this from the TestStand Help. It talks about how to use it in C#.
http://zone.ni.com/reference/en-XX/help/370052R-01/tsuiref/infotopics/font_objects/
Cheers,
09-21-2017 11:43 PM
Based on the Help I'd say you need to create the Font object and set the properties and then assign the ReportView.TextReportFont to the newly created object.
Hope this helps,
09-21-2017 11:53 PM
Hi Jigg
Ok, Thanks for your help.
BR
Tab