CustomPropertyList not showing Item in added order

CustomPropertyList not showing Item in added order

Forum member · Sep 17, 2021
Hi Team, I am trying to add Item in "CustomPropertyList" of PDF document. Its always showing item in alphabetical descending order. But we have requirement to show item in specific order. My Code sample: CustomPropertyList list = this.CustomProperties; list.Add("Calyx Test Tool", "1"); list.Add("FFF", "3"); list.Add("AAA", "4"); list.Add("Database Test1", "6"); list.Add("BBB", "8"); list.Add("Database Test Tool", "001"); list.Add("EEEE", "321"); --------------Actual Output: (In PDF under Custom Tab as -------------Name ------- Value) ------------- FFF 3 EEE 321 Database Test 1 6 Database Test Tool 001 Calyx Test Tool 1 BBB 8 AAA 4 ------------------------Expected output---(In PDF under Custom Tab as -----------Name ------- Value) ------------- Here we need in order we added item in list , same need to show on PDF. Calyx Test Tool 1 FFF 3 AAA 4 and so on.................. please provide the solution on this. Thanks , Chandan Singh

Re: CustomPropertyList not showing Item in added order

Support · Sep 20, 2021
Hello Chandan, We add the custom properties to the PDF as per PDF specifications and in the order, they are in the list. The displaying order is dependent on the PDF Reader or Viewers through, so that may be different the the order in the PDF. Thanks, ceTe Software Support Team