C# Class Queue.UI.Common.XPSUtils

显示文件 Open project: breslavsky/queue

Public Methods

Method Description
PrintXaml ( FrameworkElement template, object dataContext, string printer = null ) : void
WriteXaml ( FrameworkElement template, object dataContext ) : string

Private Methods

Method Description
GetPrintQueue ( string printer ) : PrintQueue
InternalCreateFileFromXaml ( FrameworkElement template, object dataContext ) : CreateXpsFileResult

Method Details

PrintXaml() public static method

public static PrintXaml ( FrameworkElement template, object dataContext, string printer = null ) : void
template System.Windows.FrameworkElement
dataContext object
printer string
return void

WriteXaml() public static method

public static WriteXaml ( FrameworkElement template, object dataContext ) : string
template System.Windows.FrameworkElement
dataContext object
return string