SetTextFlowLanguage
Text, layout
תיאור
מגדירה את השפה הראשית שבה משתמש TextFlow כאשר הוא בוחר שבירות מילים לפי שיקול דעת
תחביר
Delphi
Function TPDFlib.SetTextFlowLanguage(FlowID: Integer; Const Language: WideString): Integer;ActiveX
Function PDFlib::SetTextFlowLanguage(FlowID As Long, Language As String) As LongDLL
int DLSetTextFlowLanguage(int InstanceID, int FlowID, const wchar_t* Language);פרמטרים
| FlowID | TextFlow handle returned by NewTextFlow |
|---|---|
| Language | BCP 47 language tag or an empty string to clear the language |
ערכי החזרה
מחזיר 1 כאשר ה-flow ותחביר השפה תקפים, או 0 אחרת
הערות
התג הראשי מנורמל לאותיות קטנות ונשמר בלי תגי משנה של אזור או סקריפט
Automatic hyphenation supports en, de, nl, fr, es, it, pt, ru, and trA newly created TextFlow inherits the document Catalog
/Lang value and enables automatic hyphenation when its primary language is supportedSetting an unsupported but syntactically valid primary tag disables automatic hyphenation while discretionary soft hyphens remain available