Hi everyone, I am looking for a way to export pdf with a proper control over the display.
So far so good for exporting a pdf, but I am struggling a bit with the point size.
Here a sample of the code I am using (with no effect on point size) :
private static void ExportPdf(RhinoPageView view, string folderPath, float pointRadius, int dpi = 300)
{
// this is not working obviously, but I am short in idea to solve this.
view.ActiveViewport.DisplayMode.DisplayAttributes.PointRadius = pointRadius;
Rhino.FileIO.FilePdf pdf = Rhino.FileIO.FilePdf.Create();
var settings = new ViewCaptureSettings(view, dpi);
pdf.AddPage(settings);
string filename = $"{folderPath}//{view.PageName}.pdf";
pdf.Write(filename);
}
Hoping someone could help,
PS : the equivalent of the function I would like to use is the one in the printing windows about non scaling object.