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 Shape's position in the worksheet. This property determines the location of the shape's upper left corner.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns the [Shape|Shape]'s position in the worksheet.  This property determines the location of the shape's upper left corner.{excerpt}
{signature:C#}
 public Anchor Position{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Position() As Anchor
Remarks
This property determines where in the worksheet the shape is located. Setting it to a new Anchor object will move the shape within the worksheet. This property cannot be used to move shapes between worksheets - if you wish to add the shape to another worksheet, you can use the
{signature}
{remarks}
This property determines where in the worksheet the shape is located. Setting it to a new [Anchor|Anchor] object will move the shape within the worksheet.  This property cannot be used to move shapes between worksheets - if you wish to add the shape to another worksheet, you can use the [Shapes.AddShape(Shape)] method.


No part of the shape can extend beyond the edge of the worksheet.  If you move the shape to a location such that it would extend beyond the edge of the worksheet, the size will be adjusted.  For example, if you have a shape that is 10 rows tall and 4 columns wide, and you move it to the last row in the worksheet, the height will be adjusted so that it does not extend past that row.
{remarks}