C# 클래스 NetIde.Services.Shell.TaskDialog.AdjustControls

파일 보기 프로젝트 열기: netide/netide 1 사용 예제들

공개 메소드들

메소드 설명
GetBestSize ( Control control, string text, Rectangle rect ) : Size

Measure a multiline string for a Control http://www.mobilepractices.com/2008/01/making-multiline-measurestring-work.html

GetBestSize ( Graphics gr, string text, Rectangle rect, bool textboxControl ) : Size

Measure a multiline string

메소드 상세

GetBestSize() 공개 정적인 메소드

Measure a multiline string for a Control http://www.mobilepractices.com/2008/01/making-multiline-measurestring-work.html
public static GetBestSize ( Control control, string text, Rectangle rect ) : Size
control System.Windows.Forms.Control control
text string string to measure
rect System.Drawing.Rectangle Original rect. The width will be taken as fixed.
리턴 System.Drawing.Size

GetBestSize() 공개 정적인 메소드

Measure a multiline string
public static GetBestSize ( Graphics gr, string text, Rectangle rect, bool textboxControl ) : Size
gr System.Drawing.Graphics Graphics
text string string to measure
rect System.Drawing.Rectangle Original rect. The width will be taken as fixed.
textboxControl bool True if you want to measure the string for a textbox control
리턴 System.Drawing.Size