GetHTMLTextWidth
텍스트, HTML 텍스트
설명
최대 너비로 줄바꿈했을 때 HTML 텍스트 블록의 실제 가로 크기를 반환합니다
DrawHTMLText 함수가 사용하는 너비입니다. 지원되는 HTML 태그에 대한 자세한 내용은 Appendix A를 참조하십시오
구문
Delphi
Function TPDFlib.GetHTMLTextWidth(MaxWidth: Double; Const HTMLText: WideString): Double;
ActiveX
Function PDFlib::GetHTMLTextWidth(MaxWidth As Double, HTMLText As String) As Double
DLL
double DLGetHTMLTextWidth(int InstanceID, double MaxWidth, const wchar_t * HTMLText);
매개변수
| MaxWidth | 텍스트가 그려질 영역의 너비 |
|---|---|
| HTMLText | 너비를 확인할 HTML 텍스트 |