Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Sets or returns the width of the Shape.

Signature
C#
C#
public double Width{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Width() As Double
{signature}
{remarks}
If the {{Shape}} is directly within a [Worksheet|Worksheet], the width is in points \
Remarks

If the Shape is directly within a Worksheet, the width is in points (1/72

inch

\

).

If

the

{{

Shape

}}

is

within

[

Chartsheet

|Chartsheet]

,

the

width

is

a

percentage

of

the

chart's

width

\

(0

\

-100

\

).

If

you

set

a

shape's

width

\

(or

[

Shape.Height

|Shape.Height]\

)

to

a

value

read

from

a

spreadsheet,

the

shape

may

lose

precision

due

to

the

way

Excel

stores

shape

dimensions.

{remarks}