private PdfSection method_14(SizeF A_0) { PdfSection section = this.pdfNewDocument_0.get_Sections().Add(); section.get_PageSettings().get_Margins().set_All(0f); section.get_PageSettings().set_Size(A_0); return(section); }
private PdfSection method_13(PageSetup A_0) { int num = 7; PdfSection section = this.pdfNewDocument_0.get_Sections().Add(); section.get_PageSettings().get_Margins().set_All(0f); section.get_PageSettings().set_Orientation((((A_0.Orientation == PageOrientation.Portrait) && (A_0.PageSize.Width <= A_0.PageSize.Height)) || (A_0.Orientation.ToString() == BookmarkStart.b("ᰬ", num))) ? ((PdfPageOrientation)0) : ((PdfPageOrientation)1)); section.get_PageSettings().set_Size(A_0.PageSize); return(section); }