Back to Devexpress

XlAnchorType Enum

corelibraries-devexpress-dot-export-dot-xl-1685715f.md

latest2.0 KB
Original Source

XlAnchorType Enum

Lists anchoring types used to position an IXlPicture object in a worksheet or specifies how a picture should be moved and resized when a two cell anchoring is used.

Namespace : DevExpress.Export.Xl

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public enum XlAnchorType
vb
Public Enum XlAnchorType

Members

NameDescription
TwoCell

Two Cell Anchoring. The picture moves and/or resizes with the underlying cells as specified by the IXlPicture.AnchorBehavior property.

| | OneCell |

One Cell Anchoring. The picture moves with the anchor cell, but its size remains the same.

| | Absolute |

Absolute Anchoring. The picture does not move or resize with the underlying cells.

|

The following properties accept/return XlAnchorType values:

Remarks

The values listed by this enumeration are used by the following properties:

  • IXlPicture.AnchorType, to specify the anchoring type used to position a picture within a worksheet.
  • IXlPicture.AnchorBehavior, to specify the positioning and resizing behavior of a picture which is anchored to two cells in a worksheet.

See Also

DevExpress.Export.Xl Namespace