/*
i-net software provides programming examples for illustration only, without warranty
either expressed or implied, including, but not limited to, the implied warranties
of merchantability and/or fitness for a particular purpose. This programming example
assumes that you are familiar with the programming language being demonstrated and
the tools used to create and debug procedures. i-net software support professionals
can help explain the functionality of a particular procedure, but they will not modify
these examples to provide added functionality or construct procedures to meet your
specific needs.
© i-net software 1998-2013
*/
namespace Inet.Viewer.Data
{
///
/// A SearchChunks describes the location of a single result hit of a performed search.
///
public class SearchChunk
{
internal readonly int StartIndex;
internal readonly int EndIndex;
internal readonly int X;
internal readonly int Y;
internal readonly int Page;
///
/// Creates a search chunk.
///
/// the start index
/// the end index
/// the x coordinate
/// the y coordinate
/// the page of the report
public SearchChunk(int startIndex, int endIndex, int x, int y, int page)
{
this.StartIndex = startIndex;
this.EndIndex = endIndex;
this.X = x;
this.Y = y;
this.Page = page;
}
}
}