Hi.
the issue is fixed. many thanks!
would like to know if print preview can be opened in landscape mode, because right now, the print preview shows one column in one page and other 2 columns in another page. also, can the window size be changed.
additionally, the text appears to be slightly blurred in PDF from print preview. is there any reason for this?
I would also like to know if its possible to add a header to the print preview.
Hi Farzin Hameed,
Find the responses to your queries below.
|
Queries |
Responses |
|
|
would like to know if print preview can be opened in landscape mode, because right now, the print preview shows one column in one page and other 2 columns in another page.
|
We have checked the reported scenario from our end. The print preview shows properly all columns on one page. We are unable to reproduce the reported problem from our end. However, your requirement to print the data in Landscape in MultiColumnTreeView can be achieved by enabling the Landscape property in MultiColumnTreeView.PrintDocument.DefaultPageSettings. Refer to the below code snippet,
|
|
|
also, can the window size be changed.
|
MultiColumnTreeView does not contain direct support to change the window size. However, your requirement to change the print window of MultiColumnTreeView can be achieved by setting the Width and Height of PrintPreviewDialog. Refer to the below code snippet,
|
|
|
the text appears to be slightly blurred in PDF from print preview. is there any reason for this?
|
The reported problem is not an issue. It occurs due to the minimum zoom value applied at initial loading in PrintPreviewDialog based on the AutoZoom property. However, you can overcome this by setting the Zoom property in PrintPreviewControl.PrintPreviewControl. Refer to the below code snippet,
|
|
|
I would also like to know if its possible to add a header to the print preview.
|
We have checked the possibility to achieve your requirement. We regret to inform you that there is no way to display the columns header when print preview in MultiColumnTreeView. |
Find the sample demo in the attachment.
Regards,
Vijayarasan S
If this post is helpful, please consider Accepting it as the solution so that
other members can locate it more quickly.
Attachment: Sample_8d92a782.zip
Thank you for the reply!
The above code snippet shows print preview of the print document and not the full contents of the treeview. I want to change window size of the print preview in the following :
multiColumnTreeView1.PrintPriview();
Also, is there a way to center-align just a single node?
TIA
Hi Farzin Hameed,
We are currently checking the feasibility of achieve your requirement. We require some time to perform this evaluation and will provide you with further details on August 28, 2023.
Regards,
Sreemon Premkumar M.
Farzin Hameed,
Find the responses to your queries below.
|
Queries |
Responses |
|
|
|
As we mentioned earlier, MultiColumnTreeView does not contain direct support to change the window size while using the PrintPreview method. Your requirement to show the full contents of the MultiColumnTreeView can be achieved by getting the image and get the print document using reflection. Refer to the below code snippet,
|
|
|
is there a way to center-align just a single node?
|
Your
requirement to center-align in single node in MultiColumnTreeView can be
achieved by setting the Alignment as Center for TreeNodeAdvSubItem. Refer to
the below code snippet,
|
Find the modified sample in the attachment.
Thanks for the kind reply!