Beispiel #1
0
        public void Close()
        {
            if (this.openFileName == null)
            {
                return;
            }

            BondiDJVUActions.CloseDocument();
            this.openFileName  = (string)null;
            this.pageCount     = 0;
            this.pageSizeArray = (Size[])null;
        }
Beispiel #2
0
        public bool Open(string fileName, string username, string password)
        {
            if (this.openFileName != null)
            {
                BondiDJVUActions.CloseDocument();
                this.openFileName = (string)null;
            }
            BondiDJVUActions.OpenDocument(fileName, username, password);

            this.openFileName  = fileName;
            this.pageCount     = BondiDJVUActions.GetPageCount();
            this.pageSizeArray = new Size[this.pageCount];
            return(true);
        }