Unplanned
Last Updated: 02 Apr 2019 11:30 by ADMIN
ADMIN
Deyan
Created on: 04 Dec 2014 11:49
Category: PDFViewer
Type: Bug Report
4
PdfViewer: When printing lines from PdfViewer using PDF printer results in incorrectly crossing lines for some versions of Windows/printer drivers

Workaround for documents generated with PdfProcessing: When drawing lines using the FixedContentEditor the IsFilled graphic property should be set to false:

RadFixedDocument document = new RadFixedDocument();

Rect rect = new Rect(0, 0, 50, 50);
FixedContentEditor editor = new FixedContentEditor(document.Pages.AddPage());
editor.GraphicProperties.IsFilled = false;
editor.GraphicProperties.IsStroked = true;

editor.Position.Translate(50, 50);
editor.GraphicProperties.StrokeColor = new RgbColor(255, 0, 0);
editor.DrawText("Lines");
editor.DrawLine(rect.TopLeft, rect.TopRight);
editor.DrawLine(rect.TopRight, rect.BottomRight);
editor.DrawLine(rect.BottomRight, rect.BottomLeft);
editor.DrawLine(rect.BottomLeft, rect.TopLeft);
1 comment
ADMIN
Boby
Posted on: 01 Feb 2016 08:21
The XAML team has recently reviewed this issue and will not be addressing it as at this time the team is focusing on the bugs impacting the highest number of developers. If you have encountered this issue and it is blocking for your work please contact us through the support ticketing system with details on your setup and a reference to this item.