PrintManager

StockSharp.Xaml.Diagram.GXDiagram

このクラスは、図表を印刷する責任があります。

継承元: FrameworkElement

実装: IDocumentPaginatorSource

コンストラクター

PrintManager
public PrintManager()
printManager = PrintManager()

デフォルトPrintManager@を作成します。

プロパティ

BackgroundTemplate
public DataTemplate BackgroundTemplate { get; set; }
value = printManager.BackgroundTemplate
printManager.BackgroundTemplate = value

このページのバックグラウンドとしてDataTemplate@をプリントするか、または設定します。

Bounds
public Rect Bounds { get; set; }
value = printManager.Bounds
printManager.Bounds = value

モデルの領域をモデル座標で印刷するか、またはセットします。

Diagram
public Diagram Diagram { get; internal set; }
value = printManager.Diagram
printManager.Diagram = value

印刷を行うPrintManagerの図形を取得します。

DocumentPaginator
public virtual DocumentPaginator DocumentPaginator { get; }
value = printManager.DocumentPaginator

安全にDocumentPaginatorを使用するには、このプロパティは使用しないでください。

ForegroundTemplate
public DataTemplate ForegroundTemplate { get; set; }
value = printManager.ForegroundTemplate
printManager.ForegroundTemplate = value

このページの先頭へ DataTemplate をプリントアウトします。

Margin
public Thickness Margin { get; set; }
value = printManager.Margin
printManager.Margin = value

印刷された領域の周りのページサイズ内のマージンを受け取り、またはセットします。

PageOptions
public PrintPageOptions PageOptions { get; set; }
value = printManager.PageOptions
printManager.PageOptions = value

各ページを印刷する方法を取得または設定します。

Parts
public IEnumerable<Part> Parts { get; set; }
value = printManager.Parts
printManager.Parts = value

パーツのコレクションをプリントするか、セットします。

Scale
public double Scale { get; set; }
value = printManager.Scale
printManager.Scale = value

スケール要素を全て印刷するかどうかを把握またはセットします。

メソッド

OnCompleted
protected virtual void OnCompleted()
printManager.OnCompleted()

プリント作業が完了した後に呼び出されます。

Paginate
public void Paginate(Action<DocumentPaginator> act)
printManager.Paginate(act)

安全かつ安心な方法でDocumentPaginatorをご使用ください。

act
DocumentPaginatorと呼び出されるアクション<DocumentPaginator>は、初期化作業を事前に呼び、その後の清掃作業を行います。
Print
public void Print(PrintDialog dlg)
printManager.Print(dlg)

指定したPrintDialog@で行われた選択で図を印刷します。

dlg

イベント

Completed
public event RoutedEventHandler Completed
printManager.Completed += handler

印刷完了時に発生するRoutedEventです。

フィールド

BackgroundTemplateProperty
public static readonly DependencyProperty BackgroundTemplateProperty
value = PrintManager.BackgroundTemplateProperty

BackgroundTemplate依存性プロパティを識別します。

BoundsProperty
public static readonly DependencyProperty BoundsProperty
value = PrintManager.BoundsProperty

境界依存性プロパティを特定します。

CompletedEvent
public static readonly RoutedEvent CompletedEvent
value = PrintManager.CompletedEvent

完全ルートされたイベントを識別します。

ForegroundTemplateProperty
public static readonly DependencyProperty ForegroundTemplateProperty
value = PrintManager.ForegroundTemplateProperty

ForegroundTemplate依存性プロパティを識別します。

MarginProperty
public static readonly DependencyProperty MarginProperty
value = PrintManager.MarginProperty

証拠金依存性プロパティを特定する

PageOptionsProperty
public static readonly DependencyProperty PageOptionsProperty
value = PrintManager.PageOptionsProperty

PageOptions依存性プロパティを識別します。

PartsProperty
public static readonly DependencyProperty PartsProperty
value = PrintManager.PartsProperty

部品依存性プロパティを特定します。

ScaleProperty
public static readonly DependencyProperty ScaleProperty
value = PrintManager.ScaleProperty

スケール依存性プロパティを特定します。