Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot vertically align strings containing both Japanese and English text

Status
Not open for further replies.

biggerb46

Programmer
Jul 20, 2012
7
US
I am trying to verically align the Englist portion of the text (i.e. "UNTESTED").

These changes in fonts cause vertical alignment to be difficult. I need a method to ensure proper verticle alignment of the English portion of each string. I need the English part of each string to line up perfectly.

3.1.3.1 CPC コネクタ UNTESTED UNTESTED

3.1.4.2 バッテリチャージ (80 to 100 %) UNTESTED UNTESTED

3.1.6.4 VGA 出力試験 UNTESTED UNTESTED

3.1.8.4 ビデオオーバーレイ試験(図4) UNTESTED UNTESTED

3.1.9.3 MP3 UNTESTED UNTESTED

3.1.10.1 CPUバッテリ交換 UNTESTED UNTESTED

I am using Visual Basic 6.5. I am trying to print the strings into a Word document.


I tried using the TextWidth() method in the Form that prints out these strings however this method is not available: I don't see it inside the list of methods of the Form's class.


I want to implement a method that will determine the width of each Japanese character before it is printed out.

Is there a way to do this using Visual C++?

Thanks,

Biggerb46


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top