BeginTilingPattern
Vector graphics, Page layout
תיאור
פותח משטח ציור זמני של דפוס tiling עם שם התבנית, הרוחב והגובה המבוקשים
While the build is active, normal drawing calls write to the temporary page selected by this function
Finish the build with EndTilingPattern to register the pattern, or call CancelTilingPattern to discard the temporary drawing surface
תחביר
Delphi
Function TPDFlib.BeginTilingPattern(Const PatternName: WideString; Width, Height: Double): Integer;
ActiveX
Function PDFlib::BeginTilingPattern(PatternName As String, Width As Double, Height As Double) As Long
DLL
int DLBeginTilingPattern(int InstanceID, const wchar_t * PatternName, double Width, double Height);
פרמטרים
| PatternName | Name used later by SetFillTilingPattern, SetLineTilingPattern, or SetTextTilingPattern |
|---|---|
| Width | The pattern cell width in PDF units |
| Height | גובה תא התבנית ביחידות PDF |
ערכים מוחזרים
| 0 | The name or dimensions were invalid, a reusable-surface build was already active, the name already exists, or the temporary drawing surface could not be created |
|---|---|
| 1 | The tiling-pattern drawing surface was created and selected |
הערות
BeginTilingPattern
SetFillTilingPatternאת ה-pattern שנרשם אפשר לעשות בו שימוש חוזר על פני עמודים דרך SetLineTilingPattern, SetTextTilingPattern ו-
ראה גם
EndTilingPattern, CancelTilingPattern, SetFillTilingPattern, NewTilingPatternFromCapturedPage