Skip to content

28c7dada 0d3b e125 c6ed a7bded44712e

Fernando Garcia edited this page May 8, 2018 · 1 revision

BorderModel.Weight Property

Additional header content

Gets or sets preferred border weight.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public KnownWidthLineStyle Weight { get; set; }

VB

Public Property Weight As KnownWidthLineStyle
	Get
	Set

Property Value

Type: KnownWidthLineStyle
Preferred border weight. The default is Hairline.

Remarks

ITEE Object Element Usage

<Border Weight="Hairline|Thin|Medium|Thick" .../>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
No has effect No has effect No has effect X
A X value indicates that the writer supports this element.

Examples

In the following example shows how create a new border. XML

<Border Position="Bottom" Color="Navy" LineStyle="Dash" Weight="Thick"/>

C#

BorderModel border = new BorderModel
                         {
                             Position = KnownBorderPosition.Bottom,
                             Color = "Navy",
                             Weight = KnownWidthLineStyle.Thick,
                             LineStyle = KnownBorderLineStyle.Dash
                         };

See Also

Reference

BorderModel Class
iTin.Export.Model Namespace

Clone this wiki locally