Version

BorderProperties Property (TableCellProperties)

Returns or sets an object which provides a way to customize the borders for the associated cell.
Syntax
'Declaration
 
Public Property BorderProperties As TableBorderProperties
public TableBorderProperties BorderProperties {get; set;}
Remarks

Cell border properties are inherited from the table to which the cell belongs. This property provides a way to interrupt inheritance of table borders for a cell or group of cells.

The instance returned from this property's get method will be created when it is first requested, i.e., "lazily". A previously created instance can be assigned (for example, from a previously created TableCellProperties instance), provided that they are associated with the same WordDocumentWriter. This approach can reduce the heap fragmentation that can result from excessive object instantiation in the case where the border properties must be explicitly set for a relatively large number of cells.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also