Ejemplo n.º 1
0
        private void CreateDocument()
        {
            Pdf.DefaultPageSetup.PageFormat  = InvoiceFormat;
            Pdf.DefaultPageSetup.Orientation = InvoiceOrientation;
            Pdf.DefaultPageSetup.TopMargin   = 125;
            Pdf.Info.Title = Invoice.Title;

            DefineStyles();

            Pdf.AddSection();
            HeaderSection();
            AddressSection();
            BillingSection();
            PaymentSection();
            FooterSection();
        }