|
Programmer's Reference >
ExcelApplication API >
Cell > CreateAnchor
CreateAnchor Method
Signature:
public Anchor CreateAnchor ( int percentX
, int percentY
)
Description:
Creates an anchor within the specified cell. An anchor represents the position of a floating (non-cell data) object within a spreadsheet.
Parameters:
|
percentX |
The X offset from the cell's left side as a percentage of the cell's width. This value must be between 0 and 100. |
|
percentY |
The Y offset from the top of the cell as a percentage of the cell's height. This value must be between 0 and 100. |
Returns:
Anchor
An anchor for this cell.
Example:
[csharp]
Anchor anch = cellB7.CreateAnchor(30, 50);
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|
|
|