Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Bookmark.cs 1023B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*************************************************************************************
  2. DocX – DocX is the community edition of Xceed Words for .NET
  3. Copyright (C) 2009-2016 Xceed Software Inc.
  4. This program is provided to you under the terms of the Microsoft Public
  5. License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
  6. For more features and fast professional support,
  7. pick up Xceed Words for .NET at https://xceed.com/xceed-words-for-net/
  8. ***********************************************************************************/
  9. namespace Xceed.Words.NET
  10. {
  11. public class Bookmark
  12. {
  13. #region Public Properties
  14. public string Name
  15. {
  16. get; set;
  17. }
  18. public Paragraph Paragraph
  19. {
  20. get; set;
  21. }
  22. #endregion
  23. #region Constructors
  24. public Bookmark()
  25. {
  26. }
  27. #endregion
  28. #region Public Methods
  29. public void SetText( string text )
  30. {
  31. this.Paragraph.ReplaceAtBookmark( text, this.Name );
  32. }
  33. #endregion
  34. }
  35. }