First cell of table should not allow wrapping but always does. Does it have anything to do with the fact that I'm using a flow document instead of fixed? There seems to be very little documentation or samples of flow documents.
public void Mvce(){ Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider provider = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider(); RadFlowDocument document = new RadFlowDocument(); RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document); Table t = editor.InsertTable(); TableCell cell0 = new TableCell(document); cell0.CanWrapContent = false; //AddBlock() not available??? Its in the documentation: // https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/editing/tablecell#adding-cell-content cell0.Blocks.AddParagraph().Inlines.AddRun("ClientName:"); TableCell cellLong = new TableCell(document); cellLong.Blocks.AddParagraph().Inlines.AddRun("Nullam sit amet dui porta, imperdiet quam sit amet, consequat diam. In vel orci rutrum, vehicula purus ullamcorper, ornare lorem. Sed at arcu ultrices, fringilla augue in, condimentum quam. Sed pretium faucibus"); var row = t.Rows.AddTableRow(); row.Cells.Add(cell0); row.Cells.Add(cellLong); using (Stream output = File.OpenWrite("sample.pdf")) { provider.Export(document, output); } Process.Start("sample.pdf");}
