PropertyItem.cs 759 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // System.Drawing.Imaging.PropertyItem.cs
  3. //
  4. // Authors:
  5. // Everaldo Canuto ([email protected])
  6. // Andreas Nahr ([email protected])
  7. // Dennis Hayes ([email protected])
  8. //
  9. // (C) 2002 Ximian, Inc. http://www.ximian.com
  10. //
  11. using System;
  12. namespace System.Drawing.Imaging {
  13. public sealed class PropertyItem {
  14. int id;
  15. int len;
  16. short type;
  17. byte[] value;
  18. // properties
  19. public int Id {
  20. get { return id; }
  21. set { id = value; }
  22. }
  23. public int Len {
  24. get { return len; }
  25. set { len = value; }
  26. }
  27. public short Type {
  28. get { return type; }
  29. set { type = value; }
  30. }
  31. public byte[] Value {
  32. get { return this.value; }
  33. set { this.value = value; }
  34. }
  35. }
  36. }