Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns the width of the Shape.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns the width of the [Shape|Shape]. 
{excerpt}
{signature:C#}
 public double Width{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Width() As Double
Remarks
If the Shape is directly within a Worksheet, the width is in points
{signature}
{remarks}
If the {{Shape}} is directly within a [Worksheet|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}