Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

An anchor represents the position of a floating (non-cell data) object within a spreadsheet. The position is maintained as a row number + a percentage of the row's width and a column number + a percentage of the column's height.

C#
vb.net

Remarks

To create an Anchor object, use Worksheet.CreateAnchor or Cell.CreateAnchor.

Examples

C#
vb.net

Properties

Name

Description

Column

Returns the 0-based number of the column containing the anchor.

OffsetX

Returns the X offset from the left side of the column containing the anchor, as a percentage of column width.

OffsetY

Returns the Y offset from the top of the row containing the anchor, as a percentage of row height.

Row

Returns the 0-based number of the row containing the anchor..
  • No labels