public SourceEditorPrintOperation(Document doc, FilePath filename)
        {
            this.doc      = doc;
            this.filename = filename;
            this.settings = SourceEditorPrintSettings.Load();

            this.Unit = Unit.Mm;
        }
Example #2
0
        public SourceEditorPrintOperation(TextEditor editor, FilePath filename)
        {
            this.editor   = editor;
            this.filename = filename;
            this.settings = SourceEditorPrintSettings.Load();

            this.Unit = Unit.Pixel;
        }