Programming Microsoft Windows with C# phần 3

Tiếp theo, lắp ráp để thử nghiệm một ứng dụng web bằng cách kích chuột phải vào ứng dụng, chọn Add Reference, và trình duyệt để kiểm soát người dùng lắp ráp. Bước tiếp theo là để làm cho điều khiển máy chủ có sẵn trên một hình thức web bằng cách đăng ký | You also need to know that Hebrew is written from right to left. So to type the Hebrew phrase shown above into TypeAway you need to type the letters in this order bet the c key qof the e key resh the r key space tet the y key vav the u key and bet the c key . TypeAway stores the Unicode characters in the character string in the order that you type them. That is correct. The Drawstring method displays these characters from right to left. That is also correct and the Drawstring method must be given full credit and congratulations for recognizing and properly displaying text that reads right to left. And now you know why TypeAway has to completely erase the line of previously drawn text new text may not necessarily be appended at the end of the text string. When you re typing from the Hebrew keyboard new text must be displayed at the beginning of the text string rather than the end. Typing in Arabic is even more critical adjacent characters in Arabic are often joined to form different glyphs. Drawstring needs to draw the whole string not just individual characters to correctly handle this situation. Where TypeAway fails is in the caret positioning. When you re typing right-to-left text the caret isn t showing the insertion point. The solution to this problem isn t trivial particularly when you re dealing with a combination of left-to-right and right-to-left text in the same line. It appears that Windows Forms doesn t make available sufficient tools to solve this problem but if you re interested in seeing how it s done using the Win32 API check out the article Supporting Multilanguage Text Layout and Complex Scripts with Windows NT from the November 1998 issue of Microsoft SystemJournal. Chapter 7 Pages and Transforms Overview A primary goal in any graphics programming environment is device independence. Programs should be able to run without change on many different types of video display adapters regardless of the resolution. Programs should also be able to print

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.