Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Professional Microsoft Smartphone Programming phần 9
tailieunhanh - Professional Microsoft Smartphone Programming phần 9
Thông thường, trước khi gọi dây kéo () phương pháp, trước tiên bạn nên gọi Đồ họa:: MeasureString () để có được một cấu trúc RectangleF của hộp văn bản biên có thể được thông qua dây kéo (). Lý do cơ bản là khi một chuỗi trong một phông chữ được đo, thêm một số khoảng cách và treo lơ lửng glyphs sẽ được bổ sung vào kết quả. | Chapter 15 Normally before calling the DrawString method you should first call Graphics MeasureString to obtain a RectangleF structure of the bounding text box that can be passed to DrawString . The underlying reason is that when a string in a font is measured some extra spacing and overhanging glyphs will be added to the result. With this piece of information you can use the DrawString method to finely control the string display by placing the text at the appropriate location or adjusting the alignment. The following is an example of using the MeasureString method to obtain the size of the text Measure string size first SizeF szeText .NET Compact Framework rocks Font new Pen 0 0 int int .NET Compact Framework rocks Font new SolidBrush 0 0 To place your text string into a rectangular box you must pass a Rectangle object to DrawString RectangleF rct new RectangleF 30F 30F 200F 100F Smartphone Application rocks Font new SolidBrush rct If the rectangle is not wide enough to hold the string then the text will wrap around to the next line if there is sufficient space. If no space is available the text string will be truncated. The text is left-aligned and top-aligned by default. If you want to change the formatting use a StringFormat object and pass it to DrawString RectangleF rct new RectangleF 0 30F 200 60 StringFormat strFmt new StringFormat Text will be put at the bottom of the Rectangle Text will be put in the middle on a horizontal line Mobile Font new SolidBrush rct strFmt The StringFormat Alignment property determines how the text is aligned horizontally and the StringFormat LineAlignment property specifies the vertical position of the text in a rectangle. Both of these properties get the value from the StringAlignment enumeration where .
Bảo Duy
60
53
pdf
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
Hướng dẫn cơ bản về Microsoft Project Professional 2010
95
122
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 10
34
72
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 11
38
79
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 12
34
72
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 13
27
73
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 14
29
69
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 15
22
76
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 16
22
76
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 17
20
63
0
Lecture Professional garde manger: A comprehensive guide to cold food preparation – Chapter 18
38
76
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461847
55
Giới thiệu :Lập trình mã nguồn mở
14
22524
57
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10867
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10030
445
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9491
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8245
1124
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8207
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7860
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6648
253
Vật lý hạt cơ bản (1)
29
5756
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Hướng dẫn Microsoft Project Professional
Sử dụng Microsoft Project Professional
Cách sử dụng Microsoft Project Professional
Microsoft Project Professional 2010
Microsoft Project Professional
Cài đặt Microsoft Project Professional 2010
Professional garde manger
Cold food preparation
Professional cooking
Professional baking
Professional working chefs
The cold kitchen
Professional Ethics
client contracts
professional authority
professional discretion
public good
health care
legal practice
Professional detachment
Professional virtues
ordinary vices
Ethical models
professional roles
Information technology
Professional practices in information technology
Business data
Computer technology
World Wide Web
Lecture Professional cooking
Cooking skill
Cooking equipment
Steam equipment
Professional kitchen
Lecture Professional baking
Basic professional skills
Baking equipment
Basic baking principles
Understanding yeast doughs
TÀI LIỆU MỚI ĐĂNG
Báo cáo khoa học: Loss of kinase activity in Mycobacterium tuberculosis multidomain protein Rv1364c
14
233
0
20-04-2024
Mass Transfer in Multiphase Systems and its Applications Part 19
40
254
1
20-04-2024
Trading Strategies Profit Making Techniques For Stock_3
23
181
0
20-04-2024
Anh văn bằng C-124
8
170
0
20-04-2024
Management and Services Part 1
10
155
0
20-04-2024
Bơm máy nén quạt trong công nghiệp part 8
20
197
2
20-04-2024
MySQL Basics for Visual Learners PHẦN 9
15
183
0
20-04-2024
Hướng dẫn sử dụng Quickoffice cho Ipad và Iphone
13
150
0
20-04-2024
HƯỚNG DẪN SỬ DỤNG PHẦN MỀM CAITA part 9
18
126
0
20-04-2024
Data Structures and Algorithms - Chapter 9: Hashing
54
111
0
20-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7860
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5607
1328
Ebook Chào con ba mẹ đã sẵn sàng
112
3752
1229
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5256
1127
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8245
1124
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3474
641
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10867
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3670
524
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4024
513
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4105
478
crossorigin="anonymous">
Đã 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.