Hi,
I have problems for removing the border lines in my tree print.Do someone know witch property must be setted for a result without visible borders ?
Thanks
Thank you for posting in our forums.
What you can do in order to achieve this is to handle the InitializeTree event of the UltraPrint document and set the BorderStyle of the printed control to None:
private void ultraTreePrintDocument1_InitializeTree(object sender, Infragistics.Win.UltraWinTree.Printing.InitializeTreeEventArgs e)
{
e.Control.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;
}
This way the tree will be printed without borders. Also note that this change will not affect the actual UltraTree on your form. It will keep it border style.
I am looking forward to hearing from you.