How to persist PrintSettings?

SyntaxEditor for Windows Forms Forum

Posted 11 years ago by Joachim Schwieren
Version: 13.1.0311



the PrintSettings object contains all the settings for printing a document loaded into a SyntaxEditor. How can that be persisted? There is a method called ShouldSerializePrintSettings() but I'm not sure how this is being used.

I would like to save the PrintSettings e.g. in a string so I can store it in the application settings and on next application startup restore these settings back to the object. Is that possible without having to do everything manually?


Thanks and best regards,


Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Joe,

That method is just for designer serialization and doesn't relate to persisting actual settings.  Sorry but we don't have anything built in to do so.  You'd need to run through the properties manually and save those into your own data storage mechanism, and then restore them later.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.