Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Xml.Linq;
  6. using System.IO.Packaging;
  7. namespace Novacode
  8. {
  9. /// <summary>
  10. /// Represents an Image embedded in a document.
  11. /// </summary>
  12. public class Image
  13. {
  14. /// <summary>
  15. /// A unique id which identifies this Image.
  16. /// </summary>
  17. private string id;
  18. /// <summary>
  19. /// Returns the id of this Image.
  20. /// </summary>
  21. public string Id
  22. {
  23. get {return id;}
  24. }
  25. internal Image(DocX document, PackageRelationship pr)
  26. {
  27. id = pr.Id;
  28. }
  29. }
  30. }