A possible workaround could be to draw a rectangle around the desired Block.
RadFixedDocument document = new RadFixedDocument(); RadFixedPage page = document.Pages.AddPage(); page.Size = new Size(600, 800); FixedContentEditor editor = new FixedContentEditor(page); editor.Position.Translate(defaultLeftIndent, 50); Block block = new Block(); block.InsertText("PDF"); editor.DrawBlock(block); Block border = new Block(); border.GraphicProperties.StrokeColor = RgbColors.Black; border.GraphicProperties.IsFilled = false; border.GraphicProperties.IsStroked = true; border.GraphicProperties.StrokeThickness = 1; border.InsertRectangle(new System.Windows.Rect(block.Measure())); editor.DrawBlock(border);
Last time we attempted this the <Viewbox> contents would not render and were empty upon xaml to pdf output. It would be great if you had this feature and we could move completely away from raster output to PDF for controls that contain Viewboxes. Otherwise we have really liked the PDF's created by the tool, the vector output is sharp as expected.