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ố

FieldKeyKey of a field declared with AddCollectionField.
Ascending1 sorts ascending, 0 descending.

Giá trị trả về

0Empty key, or no document is selected.
1The sort was set.

Xem thêm

AddCollectionField, SetCollectionView