public SourceEditorPrintOperation(Document doc, FilePath filename) { this.doc = doc; this.filename = filename; this.settings = SourceEditorPrintSettings.Load(); this.Unit = Unit.Mm; }
public SourceEditorPrintOperation(TextEditor editor, FilePath filename) { this.editor = editor; this.filename = filename; this.settings = SourceEditorPrintSettings.Load(); this.Unit = Unit.Pixel; }