Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

Rotate Text in LabWindows/CVI Using the Canvas Control

1 ratings | 5.00 out of 5
Print

Downloads

Filename: cvirotatetext.zip
Requirements: View

This example illustrates how a Canvas control can be used to display text rotated by 90 degrees. The text can be rotated clockwise or counter-clockwise based on the position of a binary switch on the user interface.

The text in the string control is first displayed to a source Canvas control. The contents of this source Canvas control is stored into a bitmap in memory.

This bitmap is then rotated before it is finally displayed in the target Canvas control.

Requirements


Filename: cvirotatetext.zip

Software Requirements


Application Software: LabWindows/CVI Base Development System 7.1, LabWindows/CVI Full Development System 7.1
Language(s): C

 
1 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).