Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic PDF Export of Diagram (Read 1516 times)
Joel D.
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 41
Location: Vancouver, Canada
Joined: Feb 6th, 2017
PDF Export of Diagram
May 15th, 2018 at 6:31pm
Print Post  
My diagram uses TemplatedNodes that in their DataTemplate use a Rectangle with a Fill set to a DrawingBrush. The DrawingBrush is defined in XAML and uses a DrawingGroup with multiple GeometryDrawing objects. When I export the Diagram to JPG, BMP, PNG, etc., the DrawingBrush shows up properly. However, when I export to PDF, the Rectangle is just filled with a solid colour.

Is there anything I can do to get the Rectangles/DrawingBrush to render correctly in the PDF?

Thanks.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3449
Joined: Oct 19th, 2005
Re: PDF Export of Diagram
Reply #1 - May 16th, 2018 at 8:05am
Print Post  
Hi,

PdfExporter cannot render DrawingBrushes at this time. You could set its DrawingBrushReplacement property to replace with a hatch pattern instead of solid color.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint