A
Alex Smith
Hi friends,
I want to open a .pdf file in in richTextBox using C#.Net,(Window
Application).
I have use this type of code,but I got "Catastrophic failure".
I am trying this type of code.
PdfLib.PdfClass newpdf = new PdfLib.PdfClass();
void Browse_Click(object sender, EventArgs e)
{
fileopen.ShowDialog();
string fname = fileopen.FileName;
newpdf.src = fname;
newpdf.LoadFile(fname);
newpdf.gotoFirstPage();
}
Alex.
I want to open a .pdf file in in richTextBox using C#.Net,(Window
Application).
I have use this type of code,but I got "Catastrophic failure".
I am trying this type of code.
PdfLib.PdfClass newpdf = new PdfLib.PdfClass();
void Browse_Click(object sender, EventArgs e)
{
fileopen.ShowDialog();
string fname = fileopen.FileName;
newpdf.src = fname;
newpdf.LoadFile(fname);
newpdf.gotoFirstPage();
}
Alex.