Save a spreadsheet as a pdf and assign a password to saved pdf using aspose cells

My spreadsheet has a passsword but when saving as a pdf no password is carried over to pdf
Is this Possible to do from aspose cells?

@bobm,

To encrypt PDF document, you need to use/set certain security options for your requirements, see the document for your reference:
Secure PDF Documents

Thank you that worked

@bobm,

Good to know that you are up and running again. In the event of further queries or issue, feel free to write us back and we will be happy to assist you soon.