GetMarkdownTextLineCount

Text, Markdown, Measurement

คำอธิบาย

คืนค่าจำนวนบรรทัดที่เรนเดอร์ซึ่ง Markdown ผลิตที่ความกว้างที่ขอ

ไวยากรณ์

Delphi

Function TPDFlib.GetMarkdownTextLineCount(Width: Double; Const Markdown: WideString): Integer;

ActiveX

Function PDFlib::GetMarkdownTextLineCount(Width As Double, Markdown As String) As Long

DLL

int DLGetMarkdownTextLineCount(int InstanceID, double Width, const wchar_t * Markdown);

พารามิเตอร์

WidthAvailable layout width
MarkdownMarkdown source to measure

ค่าที่ส่งคืน

คืนค่าจำนวนบรรทัดที่เรนเดอร์ หรือ 0 ถ้าความกว้างไม่ถูกต้องหรือซอร์สว่าง

หมายเหตุ

ตัวแปร DLGetMarkdownTextLineCountA ของ DLL รับข้อความตามโหมด ANSI ที่ตั้งไว้