PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

XPS to PDF polyline color
http://forum.pdfsharp.com/viewtopic.php?f=3&t=1276
Page 1 of 1

Author:  frankvdb [ Mon Jul 26, 2010 11:38 am ]
Post subject:  XPS to PDF polyline color

First of all: thanks for this component.

When a polyline is used the color is always light green (I tested it with several colors). Colors of shapes and other objects are converted well.

It appears when using a solidcolorbrush for the polyline the line is drawn with the correct colors. In my case I used the palette of wpftoolkit, which is a RadialGradientBrush.

Attachments:
File comment: the xps source
test.rar [28.42 KiB]
Downloaded 504 times
File comment: the pdf result
34.png
34.png [ 39.12 KiB | Viewed 4703 times ]

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/