Skip to main content

XlAnchorPoint(Int32, Int32, Int32, Int32) Constructor

Initializes a new instance of the XlAnchorPoint class with the specified settings.

Namespace: DevExpress.Export.Xl

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

NuGet Package: DevExpress.Printing.Core

Declaration

public XlAnchorPoint(
    int column,
    int row,
    int columnOffsetInPixels,
    int rowOffsetInPixels
)

Parameters

Name Type Description
column Int32

An integer that is the zero-based index of the column containing the anchor cell for a picture.

row Int32

An integer that is the zero-based index of the row containing the anchor cell for a picture.

columnOffsetInPixels Int32

An integer value that is the column offset within the anchor cell in pixels.

rowOffsetInPixels Int32

An integer value that is the row offset within the anchor cell in pixels.

Remarks

Create the XlAnchorPoint instance and pass it to the IXlPicture.SetOneCellAnchor or IXlPicture.SetTwoCellAnchor method to anchor a picture to specific cells in worksheet. The columnOffsetInPixels and rowOffsetInPixels parameters allows you to move a picture’s anchor away from the top-left corner of the anchor cell located at the intersection of the specified column and row.

See Also