public void Close() { if (this.openFileName == null) { return; } BondiDJVUActions.CloseDocument(); this.openFileName = (string)null; this.pageCount = 0; this.pageSizeArray = (Size[])null; }
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); }