Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

A LineWeight value determines how wide the specified line will be.

Signature
C#
C#
 public sealed class LineWeight : TypesafeEnum
{signature}{signature:
}
Signature
vb.net
vb.net
Public NotInheritable Class LineWeight
		Inherits TypesafeEnum
{signature}
{remarks}
Setting the line weight to {{null}} is equivalent to setting it to {{
Remarks

Setting the line weight to null is equivalent to setting it to ChartLine.LineWeight.Narrow

}}

.

In

Excel

2007

and

later,

chart

lines

can

be

given

varying

weights

that

may

fall

outside

or

between

the

options

here.

The

mapping

between

point

widths

(used

by

Excel

2007

and

2010)

and

enumeration

values

is

given

in

the

table

below.

For

backwards

compatibility,

ExcelWriter

will

return

the

closest

enumeration

value

from

{{

ChartLine.Weight

}}. ExcelWriter will attempt to preserve line weights from opened files. If you open a file with line whose weight is not exactly one of the ones in the table below, that weight will be preserved in the saved file as long as the line is never assigned a different weight. {remarks} {values} ||Name||Description|| |{anchor:Hair}Hair|Very thin line, 0.25pt| |{anchor:Medium}Medium|Medium line, 2pt| |{anchor:Narrow}Narrow|Thin line, 1pt| |{anchor:Wide}Wide|Bold line, 3pt|

.

ExcelWriter will attempt to preserve line weights from opened files. If you open a file with line whose weight is not exactly one of the ones in the table below, that weight will be preserved in the saved file as long as the line is never assigned a different weight.

Values

Name

Description

Anchor
Hair
Hair
Hair

Very thin line, 0.25pt

Anchor
Medium
Medium
Medium

Medium line, 2pt

Anchor
Narrow
Narrow
Narrow

Thin line, 1pt

Anchor
Wide
Wide
Wide

Bold line, 3pt