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.

Border.cs 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. using System.Drawing;
  10. namespace Xceed.Words.NET
  11. {
  12. /// <summary>
  13. /// Represents a border of a table or table cell
  14. /// </summary>
  15. public class Border
  16. {
  17. #region Public Properties
  18. public BorderStyle Tcbs { get; set; }
  19. public BorderSize Size { get; set; }
  20. public int Space { get; set; }
  21. public Color Color { get; set; }
  22. #endregion
  23. #region Constructors
  24. public Border()
  25. {
  26. this.Tcbs = BorderStyle.Tcbs_single;
  27. this.Size = BorderSize.one;
  28. this.Space = 0;
  29. this.Color = Color.Black;
  30. }
  31. public Border( BorderStyle tcbs, BorderSize size, int space, Color color )
  32. {
  33. this.Tcbs = tcbs;
  34. this.Size = size;
  35. this.Space = space;
  36. this.Color = color;
  37. }
  38. #endregion
  39. }
  40. }