SetCollectionSort
添付ファイル、ドキュメントプロパティ
説明
ビューアーが並べ替えに使用する portfolio 列と方向を選択します
構文
Delphi
Function TPDFlib.SetCollectionSort(Const FieldKey: WideString; Ascending: Integer): Integer;パラメータ
| FieldKey | AddCollectionField で宣言されたフィールドのキー |
|---|---|
| Ascending | 1 は昇順、0 は降順に並べ替えます |
戻り値
| 0 | キーが空であるか、ドキュメントが選択されていません |
|---|---|
| 1 | 並べ替えが設定されました |