SetCollectionSort
Attachments, Document properties
Mô tả
Chọn cột portfolio mà viewer sắp theo, và sắp theo hướng nào
Cú pháp
Delphi
Function TPDFlib.SetCollectionSort(Const FieldKey: WideString; Ascending: Integer): Integer;Tham số
| FieldKey | Key of a field declared with AddCollectionField. |
|---|---|
| Ascending | 1 sorts ascending, 0 descending. |
Giá trị trả về
| 0 | Empty key, or no document is selected. |
|---|---|
| 1 | The sort was set. |