Hi all,
how it's possible do change the row header height during a pdf export.I change the text in the row header cell during the export.
Can someone help me.
Thanks
What do you mean by the "row header cell"? Do you mean the column header? If so, you might be able to use the HeaderCellExporting/HeaderCellExported events or even the HeaderRowExporting/HeaderRowExported event to set the Height, i.e.:
e.ColumnHeaderContainer.Height = new FixedHeight(30);
-Matt
Hi Matt,
thanks for your answer. I tried out your suggestion, but it doesn't solves my problem. I extented the content of the column header with following code, but only a part of it is shown.
private void gridDocExporter_HeaderCellExporting(object sender, Infragistics.Win.UltraWinGrid.DocumentExport.HeaderCellExportingEventArgs e) { try { if (e.HeaderType == Infragistics.Win.UltraWinGrid.DocumentExport.HeaderTypes.GroupHeader) e.Cancel = true; if (e.HeaderType == Infragistics.Win.UltraWinGrid.DocumentExport.HeaderTypes.ColumnHeader) { e.ColumnHeaderContainer.Height = new FixedHeight(30);
e.GridHeader.Caption = (e.GridHeader.Group.Tag as string) + System.Environment.NewLine + e.GridHeader.Caption; } } catch {} }