Exemplo n.º 1
0
        public PreviewWindow()
        {
            InitializeComponent();
            InitUI();

            this.args = (Application.Current as App).args;

            if (this.args != null && this.args.Length > 0)
            {
                currentFileName = this.args[0];
                pdfReader.LoadPDF(currentFileName);
                pdfReader.SetZoomLevel(1);
            }
        }