public DxfToPdfConverterOptions(PdfMeasurement pageWidth, PdfMeasurement pageHeight, ConverterDxfRect?dxfSource, ConverterPdfRect pdfDestination) { PageWidth = pageWidth; PageHeight = pageHeight; Scale = 1d; this.DxfSource = dxfSource ?? throw new ArgumentNullException(nameof(dxfSource)); this.PdfDestination = pdfDestination ?? throw new ArgumentNullException(nameof(pdfDestination)); }
public DxfToPdfConverterOptions(PdfMeasurement pageWidth, PdfMeasurement pageHeight, double scale) { PageWidth = pageWidth; PageHeight = pageHeight; Scale = scale; this.DxfSource = null; this.PdfDestination = null; }