private void moveUpToolStripMenuItem_Click(object sender, EventArgs e)
{
int curIndex = pdfViewer.FocusedIndex;
int[] vwIndex = new int[1] {pdfViewer.FocusedIndex};
if (curIndex > 0)
{
pdfViewer.Images.MoveRange(curIndex - 1, vwIndex);
pdfViewer.FocusedIndex = curIndex - 1;
}
}
private void moveDownToolStripMenuItem_Click(object sender, EventArgs e)
{
int curIndex = pdfViewer.FocusedIndex;
int[] vwIndex = new int[1] {pdfViewer.FocusedIndex};
if (curIndex < pdfViewer.Images.Count - 1)
{
pdfViewer.Images.MoveRange(curIndex + 1, vwIndex);
pdfViewer.FocusedIndex = curIndex + 1;
}
}
Forum 'VintaSoft Imaging .NET SDK and Plug-ins Discussions'
Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions
