Hi,
How to get the number of pages of the PdfViewer document?
I am pasting (in case) a part of the code where I am importing the pdf document.
public
void
ShowPdfFile(RadPdfViewer rad,
string
documentPath)
{
_radPdfViewer = rad;
_documentPath = documentPath;
try
{
var readAllBytes = File.ReadAllBytes(documentPath);
var memoryStream =
new
MemoryStream(readAllBytes);
rad.DocumentSource =
new
PdfDocumentSource(memoryStream);
}
catch
(Exception e)
{
}
}
Is it possible to get also the number of pages of the RadRichTextBox document?
BR,
Marta