|
@@ -158,9 +158,9 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
private void AnnotationList_AnnotationSelectionChanged(object sender, object e)
|
|
|
{
|
|
|
var bindAnnotationResult = e as BindAnnotationResult;
|
|
|
- pdfViewer.PDFViewTool.GetCPDFViewer().GoToPage(bindAnnotationResult.PageIndex - 1, new Point(0, 0));
|
|
|
+ pdfViewer.PDFViewTool.GetCPDFViewer().GoToPage(bindAnnotationResult.PageIndex, new Point(0, 0));
|
|
|
pdfViewer.PDFViewTool.GetCPDFViewer().UpDataRenderFrame();
|
|
|
- pdfViewer.PDFViewTool.SelectedAnnotForIndex(bindAnnotationResult.PageIndex-1, bindAnnotationResult.AnnotIndex);
|
|
|
+ pdfViewer.PDFViewTool.SelectedAnnotForIndex(bindAnnotationResult.PageIndex, bindAnnotationResult.AnnotIndex);
|
|
|
}
|
|
|
}
|
|
|
}
|