cart: empty [ Login ]

Unable to change colours when using PdfExporter

1 
kgoderis
9/11/2018 2:53 PM
Hi Whatever combination of settings or colours I try, the PDFs generated by PdfExporter (using any DWG as input) have a white background, and a kind of orange coloured objects, with many objects simply filled with that orange color instead of being drawn properly. I use
C# Code:
GraphicsConfig config = (GraphicsConfig)GraphicsConfig.WhiteBackground.Clone(); config.DisplayLineTypeElementShapes = true; config.TryDrawingTextAsText = true; config.BackColor = WW.Drawing.ArgbColors.White; config.FixedForegroundColor = WW.Drawing.ArgbColors.Black; config.CorrectColorForBackgroundColor = false; config.UseSortEntsTables = true;
Btw, in some PDF's the CadLib trial waterstamp is present, in others is not displayed What am I missing here? K
kgoderis
9/11/2018 3:25 PM
I get the same results when using ImageExporter instead of PdfExporter : everything is orange-tinted, whatever I set as settings. K
20180911172334-SA-Verdieping _1 C33.jpg
kgoderis
9/11/2018 3:30 PM
Here is how the original DWG looks like (via online Autodesk Viewer)
Wout
9/11/2018 4:15 PM
Hi, It's a limitation of the trial version. - Wout
kgoderis
9/11/2018 6:04 PM
Ok that makes sense and is perfectly acceptable in this prototyping stage. Question, just to be sure of CadLib's capabilities : if you look at the rendered PDF and you compare that with the original you will notice that some of the inserts (with label A1.1 and alike) are rendered as filled boxes. Can you confirm that in the full version of the library the PDF will be correctly rendered? Tx K
Wout
9/11/2018 7:51 PM
I don't think CadLib handles this case correctly, but I will need the DXF/DWG file to check it. - Wout
1