/// <summary> /// Initializes a new plot settings. /// </summary> public PlotSettings() { this.pageSetupName = string.Empty; this.plotterName = "none_device"; this.paperSizeName = "ISO_A4_(210.00_x_297.00_MM)"; this.viewName = string.Empty; this.currentStyleSheet = string.Empty; this.left = 7.5; this.bottom = 20.0; this.right = 7.5; this.top = 20.0; this.paperSize = new Vector2(210.0, 297.0); this.origin = Vector2.Zero; this.windowUpRight = Vector2.Zero; this.windowBottomLeft = Vector2.Zero; this.numeratorScale = 1.0; this.denominatorScale = 1.0; this.flags = PlotFlags.DrawViewportsFirst | PlotFlags.PrintLineweights | PlotFlags.PlotPlotStyles | PlotFlags.UseStandardScale; this.paperUnits = PlotPaperUnits.Milimeters; this.rotation = PlotRotation.Degrees90; }
/// <summary> /// Initializes a new instance of <c>PlotSettings</c>. /// </summary> public PlotSettings() { pageSetupName = string.Empty; plotterName = "none_device"; paperSizeName = "ISO_A4_(210.00_x_297.00_MM)"; viewName = string.Empty; currentStyleSheet = string.Empty; paperMargin = new PaperMargin(7.5, 20.0, 7.5, 20.0); paperSize = new Vector2(210.0, 297.0); origin = Vector2.Zero; windowUpRight = Vector2.Zero; windowBottomLeft = Vector2.Zero; scaleToFit = true; numeratorScale = 1.0; denominatorScale = 1.0; flags = PlotFlags.DrawViewportsFirst | PlotFlags.PrintLineweights | PlotFlags.PlotPlotStyles | PlotFlags.UseStandardScale; plotType = PlotType.DrawingExtents; paperUnits = PlotPaperUnits.Milimeters; rotation = PlotRotation.Degrees90; shadePlotMode = ShadePlotMode.AsDisplayed; shadePlotResolutionMode = ShadePlotResolutionMode.Normal; shadePlotDPI = 300; paperImageOrigin = Vector2.Zero; }