WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramPrintManager - WPF API Reference | Syncfusion PrintManager. The PrintManager class is also used for programmatically initiating printing. ">

    Show / Hide Table of Contents

    Class DiagramPrintManager

    Informs windows that an application wishes to participate in PrintManager. The PrintManager class is also used for programmatically initiating printing.

    Inheritance
    System.Object
    PrintManager
    DiagramPrintManager
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Inherited Members
    PrintManager.isSuspended
    PrintManager.SelectedPageMediaName
    PrintManager.isPagesInitialized
    PrintManager.OnPrintPropertyChanged()
    PrintManager.Print()
    PrintManager.GetPrintDocument()
    PrintManager.GetPrintDocument(Int32, Int32)
    PrintManager.OnSelectedPrinterChanged(PrintQueue)
    PrintManager.Dispose()
    PrintManager.Dispose(Boolean)
    PrintManager.PrintSettings
    PrintManager.Pages
    PrintManager.SelectedScaleIndex
    PrintManager.PageSizeDisplayUnit
    PrintManager.PageCount
    PrintManager.PageMargin
    PrintManager.PageHeight
    PrintManager.PageWidth
    PrintManager.PageHeaderHeight
    PrintManager.PageFooterHeight
    PrintManager.PageHeaderTemplate
    PrintManager.PageFooterTemplate
    PrintManager.Collation
    PrintManager.PageRangeSelection
    PrintManager.CopiesCount
    PrintManager.FromPage
    PrintManager.ToPage
    PrintManager.PageOrientation
    PrintManager.Printers
    PrintManager.SelectedPrinter
    PrintManager.PageSizeOptions
    PrintManager.PropertyChanged
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class DiagramPrintManager : PrintManager, INotifyPropertyChanged, IDisposable

    Constructors

    DiagramPrintManager(PrintingService)

    Initialize a new instance of the DiagramPrintManager.

    Declaration
    public DiagramPrintManager(PrintingService printingService)
    Parameters
    Type Name Description
    PrintingService printingService

    Instance of PrintingService

    Methods

    ComputePageCount()

    Declaration
    protected override void ComputePageCount()
    Overrides
    PrintManager.ComputePageCount()

    CreatePage(Int32)

    Declaration
    protected override PrintPageControl CreatePage(int pageIndex)
    Parameters
    Type Name Description
    System.Int32 pageIndex
    Returns
    Type Description
    PrintPageControl
    Overrides
    PrintManager.CreatePage(Int32)

    CreatePage(Int32, PrintPageControl)

    Declaration
    protected override PrintPageControl CreatePage(int pageIndex, PrintPageControl pageControl)
    Parameters
    Type Name Description
    System.Int32 pageIndex
    PrintPageControl pageControl
    Returns
    Type Description
    PrintPageControl
    Overrides
    PrintManager.CreatePage(Int32, PrintPageControl)

    GetScaleOptions()

    Declaration
    protected override List<PrintScaleInfo> GetScaleOptions()
    Returns
    Type Description
    System.Collections.Generic.List<PrintScaleInfo>
    Overrides
    PrintManager.GetScaleOptions()

    InitializeProperties()

    Declaration
    protected override void InitializeProperties()
    Overrides
    PrintManager.InitializeProperties()

    OnPageSizeChanged(Double, Double)

    Declaration
    protected override void OnPageSizeChanged(double width, double height)
    Parameters
    Type Name Description
    System.Double width
    System.Double height
    Overrides
    PrintManager.OnPageSizeChanged(Double, Double)

    OnPrintMarginChanged(Thickness)

    Declaration
    protected override void OnPrintMarginChanged(Thickness value)
    Parameters
    Type Name Description
    System.Windows.Thickness value
    Overrides
    PrintManager.OnPrintMarginChanged(Thickness)

    OnPrintOrientationChanged(PrintOrientation)

    Declaration
    protected override void OnPrintOrientationChanged(PrintOrientation value)
    Parameters
    Type Name Description
    PrintOrientation value
    Overrides
    PrintManager.OnPrintOrientationChanged(PrintOrientation)

    OnPrintScaleOptionChanged(Int32)

    Declaration
    protected override void OnPrintScaleOptionChanged(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Overrides
    PrintManager.OnPrintScaleOptionChanged(Int32)

    OnPropertyChanged(String)

    Declaration
    protected override void OnPropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName
    Overrides
    PrintManager.OnPropertyChanged(String)

    Print(PrintDialog, Boolean)

    Declaration
    public override void Print(PrintDialog printDialog, bool showPrintDialog)
    Parameters
    Type Name Description
    System.Windows.Controls.PrintDialog printDialog
    System.Boolean showPrintDialog
    Overrides
    PrintManager.Print(PrintDialog, Boolean)

    Print(PrintDialog, Nullable<Boolean>)

    Prints the content of page control according to the print ticket and print queue configures in the print dialog.

    Declaration
    protected override void Print(PrintDialog printDialog, bool? canPrint)
    Parameters
    Type Name Description
    System.Windows.Controls.PrintDialog printDialog

    Configures the PrintTicket and PrintQueue according to the user input for printing.

    System.Nullable<System.Boolean> canPrint

    Decides whether the print can be performed or not.

    Overrides
    PrintManager.Print(PrintDialog, Nullable<Boolean>)

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved