public void OpenPdf(Stream stream, string password, bool isRightToLeft = false) { IsRightToLeft = isRightToLeft; Document = PdfDocument.Load(stream, password); GotoPage(PageNo = 0); }
public void OpenPdf(string path, bool isRightToLeft = false) { IsRightToLeft = isRightToLeft; Document = PdfDocument.Load(path); GotoPage(PageNo = 0); }