IDisplayEngine.cs 779 B

12345678910111213141516171819202122232425262728293031
  1. namespace fis.Vid
  2. {
  3. public interface IDisplayEngine
  4. {
  5. /// <summary>
  6. /// Gets image count.
  7. /// </summary>
  8. int ImageCount { get; }
  9. /// <summary>
  10. /// Gets basic data of opened file.
  11. /// </summary>
  12. /// <returns></returns>
  13. byte[] BasicData { get; }
  14. /// <summary>
  15. /// Gets image data by index.
  16. /// </summary>
  17. /// <param name="index"></param>
  18. /// <returns></returns>
  19. byte[] GetImageData(int index);
  20. /// <summary>
  21. /// Gets extended data of opened file.
  22. /// </summary>
  23. byte[] ExtendedData { get; }
  24. /// <summary>
  25. /// Close the file and release resources.
  26. /// </summary>
  27. void Close();
  28. }
  29. }