How to persist PrintSettings?

SyntaxEditor for Windows Forms Forum

Posted 6 years ago by Joachim Schwieren
Version: 13.1.0311
Avatar

Hello,

 

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,

      Joe

Comments (1)

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

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 (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.