Posted 20 years ago by Marianne
Is this a property that can be set somewhere? If not, can you either:

Add a property in the printersettings to change it


Use the parent form's icon?


------------------------------- Marianne

Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Marianne,

I don't know of a property that can be set for that. But our code for PrintPreview is very simple:

PrintPreviewDialog dialog = new PrintPreviewDialog();
dialog.Document = printSettings.PrintDocument;
I don't see anything on the PrintPreviewDialog class for an Icon. Let me know if you find anything.

Actipro Software Support

Posted 20 years ago by priebe
I think the problem is that VS.NET doesn't give you designer access to the Icon

But it can be done: <A HREF="" TARGET=_blank></A> 1%26q%3Ddotnet%2Bprint%2Bpreview%2Bicon%26btnG%3DSearch

I, too, would appreciate a fix. It would make our app look sloppy if we left the
default VS.NET icon on the print preview.
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.