Exemplo n.º 1
0
        private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
        {
            SfDataGrid.PrintSettings.PrintScaleOption = PrintScaleOptions.FitAllColumnsonOnePage;
            SfDataGrid.PrintSettings.AllowColumnWidthFitToPrintPage = true;
            SfDataGrid.PrintSettings.AllowRepeatHeaders             = true;

            SfDataGrid.Print();
        }
Exemplo n.º 2
0
        public override void ExecutePrint(object obj)
        {
            GlobalClass.ReportName   = "Location Wise Stock Report";
            GlobalClass.ReportParams = "";// string.Format("From Date : {0} To {1}", FDate.ToString("MM/dd/yyyy"), TDate.ToString("MM/dd/yyyy"));

            Report.PrintSettings.PrintPageMargin = new Thickness(30);
            Report.PrintSettings.AllowColumnWidthFitToPrintPage = false;
            Report.Print();
        }
Exemplo n.º 3
0
        public void PrintData(object obj)
        {
            SfDataGrid datagrid = (obj as SfDataGrid);

            datagrid.PrintSettings.AllowRepeatHeaders             = true;
            datagrid.PrintSettings.AllowColumnWidthFitToPrintPage = true;
            datagrid.PrintSettings.CanPrintStackedHeaders         = false;
            datagrid.Print();
        }
Exemplo n.º 4
0
        public override void ExecutePrint(object obj)
        {
            GlobalClass.ReportName   = "Picking List Variance";
            GlobalClass.ReportParams = string.Format("Requisition Id : {0}", ReqId);

            Report.PrintSettings.PrintPageMargin = new Thickness(30);
            Report.PrintSettings.AllowColumnWidthFitToPrintPage = false;
            Report.Print();
        }
Exemplo n.º 5
0
        public override void ExecutePrint(object obj)
        {
            GlobalClass.ReportName   = "Packing List Report";
            GlobalClass.ReportParams = string.Format("From Date : {0} To {1}", FDate.ToString("MM/dd/yyyy"), TDate.ToString("MM/dd/yyyy"));

            Report.PrintSettings.PrintPageMargin = new Thickness(30);
            Report.PrintSettings.AllowColumnWidthFitToPrintPage = false;
            Report.PrintSettings.PrintPageOrientation           = PrintOrientation.Landscape;
            Report.Print();
        }
Exemplo n.º 6
0
        public override void ExecutePrint(object obj)
        {
            GlobalClass.ReportName   = "Item Picking List";
            GlobalClass.ReportParams = "";// string.Format("From Date : {0} To {1}", FDate.ToString("MM/dd/yyyy"), TDate.ToString("MM/dd/yyyy"));

            Report.PrintSettings.PrintPageMargin = new Thickness(30);
            Report.PrintSettings.AllowColumnWidthFitToPrintPage = false;
            Report.PrintSettings.PrintPageOrientation           = PrintOrientation.Portrait;
            Report.Columns["DeviceName"].IsHidden = true;
            Report.Print();
        }