반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 파이썬
- Apache
- Tkinter
- Java
- list
- Python
- Google Spreadsheet
- PANDAS
- Excel
- hive
- GIT
- Google Excel
- SQL
- c#
- Redshift
- google apps script
- string
- PostgreSQL
- django
- Github
- matplotlib
- Kotlin
- PySpark
- array
- math
- Mac
- numpy
- dataframe
- gas
Archives
- Today
- Total
목록measurestring (1)
달나라 노트

MeasureString은 어떤 문자를 어떤 글씨체, 어떤 슬씨 크기로 적었을 때 그 글씨의 가로/세로 길이 정보를 측정해줍니다. MeasureString은 Paint event 내에서 Graphics 객체로부터 사용할 수 있는 method입니다. Syntax MeasureString(text, font) - text 크기를 측정할 대상 문자입니다. - font text에 적용할 Font 객체입니다. Font 객체는 아래와 같이 만들 수 있습니다. new Font(글씨체, 글씨크기) using System; using System.Windows.Forms; using System.Drawing; class CardCatch { public static void Main() { // Constatns //..
C#/C#
2022. 5. 23. 00:07