menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EditPrintManager - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EditPrintManager

    This class is used to Print and Print Preview functionalities.

    Inheritance
    System.Object
    PrintManager
    EditPrintManager
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Inherited Members
    PrintManager.Collation
    PrintManager.CopiesCount
    PrintManager.CreatePage(Int32)
    PrintManager.Dispose()
    PrintManager.Dispose(Boolean)
    PrintManager.FromPage
    PrintManager.GetScaleOptions(String)
    PrintManager.isPagesInitialized
    PrintManager.isSuspended
    PrintManager.OnPrintPropertyChanged()
    PrintManager.OnPropertyChanged(String)
    PrintManager.OnSelectedPrinterChanged(PrintQueue)
    PrintManager.PageCount
    PrintManager.PageFooterHeight
    PrintManager.PageFooterTemplate
    PrintManager.PageHeaderHeight
    PrintManager.PageHeaderTemplate
    PrintManager.PageHeight
    PrintManager.PageMargin
    PrintManager.PageOrientation
    PrintManager.PageRangeSelection
    PrintManager.Pages
    PrintManager.PageSizeDisplayUnit
    PrintManager.PageSizeOptions
    PrintManager.PageWidth
    PrintManager.Print()
    PrintManager.Print(PrintDialog, Boolean)
    PrintManager.PrintDocument(PrintDialog, Nullable<Boolean>)
    PrintManager.Printers
    PrintManager.PrintSettings
    PrintManager.PropertyChanged
    PrintManager.SelectedPageMediaName
    PrintManager.SelectedPrinter
    PrintManager.SelectedScaleIndex
    PrintManager.ToPage
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Edit
    Assembly: Syncfusion.Edit.Wpf.dll
    Syntax
    public class EditPrintManager : PrintManager, INotifyPropertyChanged, IDisposable

    Constructors

    EditPrintManager(EditControl)

    Invoked when initialize the EditPrintManager

    Declaration
    public EditPrintManager(EditControl edit)
    Parameters
    Type Name Description
    EditControl edit

    EditControl

    Methods

    ComputePageCount()

    Initializes the print process such as print properties,settings.

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

    CreatePage(Int32, PrintPageControl)

    Creates the page corresponding to the specified page index and control.

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

    The corresponding page index to create page.

    PrintPageControl pageControl

    The corresponding page control to create page.

    Returns
    Type
    PrintPageControl
    Overrides
    PrintManager.CreatePage(Int32, PrintPageControl)

    GetPrintDocument()

    Gets the print document of page control.

    Declaration
    public override FixedDocument GetPrintDocument()
    Returns
    Type Description
    System.Windows.Documents.FixedDocument

    Returns the System.Windows.Documents.FixedDocument that contains the print document of page control.

    Overrides
    PrintManager.GetPrintDocument()

    GetPrintDocument(Int32, Int32)

    Gets the print document of page control based on the specified start and end index of page.

    Declaration
    public override FixedDocument GetPrintDocument(int start, int end)
    Parameters
    Type Name Description
    System.Int32 start

    The start index of the page to get print document.

    System.Int32 end

    The end index of the page to get print document.

    Returns
    Type Description
    System.Windows.Documents.FixedDocument

    Returns the System.Windows.Documents.FixedDocument for the specified start and end index of the page contains the print document of page control.

    Overrides
    PrintManager.GetPrintDocument(Int32, Int32)

    InitializeProperties()

    Initializes properties and settings for printing process.

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

    OnPageSizeChanged(Double, Double)

    Update the print manager based upon the paper option changed from the print option control.

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

    width of the page.

    System.Double height

    height of the page.

    Overrides
    PrintManager.OnPageSizeChanged(Double, Double)

    OnPrintMarginChanged(Thickness)

    Update the print manager based upon the margin option changed from the print option control.

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

    Margin thickness of the page.

    Overrides
    PrintManager.OnPrintMarginChanged(Thickness)

    OnPrintOrientationChanged(PrintOrientation)

    Update the print manager based upon the paper option changed from the print option control.

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

    Print orientation of the page.

    Overrides
    PrintManager.OnPrintOrientationChanged(PrintOrientation)

    OnPrintScaleOptionChanged(Int32)

    Update the print manager based upon the page scale option changed from the print option control.

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

    Implements

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