SetCollectionSort

添付ファイル、ドキュメントプロパティ

説明

ビューアーが並べ替えに使用する portfolio 列と方向を選択します

構文

Delphi

Function TPDFlib.SetCollectionSort(Const FieldKey: WideString; Ascending: Integer): Integer;

パラメータ

FieldKeyAddCollectionField で宣言されたフィールドのキー
Ascending1 は昇順、0 は降順に並べ替えます

戻り値

0キーが空であるか、ドキュメントが選択されていません
1並べ替えが設定されました

関連項目

AddCollectionField, SetCollectionView