Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public DxfToPdfConverterOptions(PdfMeasurement pageWidth, PdfMeasurement pageHeight, double scale)
 {
     PageWidth           = pageWidth;
     PageHeight          = pageHeight;
     Scale               = scale;
     this.DxfSource      = null;
     this.PdfDestination = null;
 }