Hey bill
Thanks for the code-I inherited your updateableTiffFile.cs to use on my application.Here is my problem.
When I select the first thumbnail, it appeared on the workspaceviewer as I expected but when I select the second thumnail I expect the first one to dissappear on the worspaceviewer and the selected to appear but I get this error
Argumentoutofrangeexpection--in the following line
this.workspaceViewer1.Open(_simpleTiffFile.CacheFilename, _currentFrame);
with following (height must be greater than 0, parameter name height.
here is my code on selectedindex changed event
private void thumbScans_SelectedIndexChanged(object sender, System.EventArgs e)
{
if (thumbScans.SelectedIndices.Length > 0 && thumbScans.SelectedIndices[0] != _currentFrame)
{
_currentFrame = thumbScans.SelectedIndices[0];
this.workspaceViewer1.Open(_simpleTiffFile.CacheFilename, _currentFrame);
this.workspaceViewer1.Undos.Clear();
OnSelectedImageChanged(
EventArgs.Empty);
}
}
any solution
thanks in advance