Search Results for

    Show / Hide Table of Contents

    Class Position

    Class that represents a graphic object position within a WorkSheet

    Inheritance
    System.Object
    Position
    Namespace: IronXL.Drawing
    Assembly: IronXL.dll
    Syntax
    public class Position : Object

    Properties

    AnchorType

    Gets or sets the way in which the image is anchored to the WorkSheet cells.

    Declaration
    public AnchorType AnchorType { get; set; }
    Property Value
    Type Description
    AnchorType
    See Also
    AnchorType

    BottomRowIndex

    Returns the 0-based index of the last row the graphic object is "attached" to.

    e.g. if BottomRowIndex equals 0, Excel row coordinate will equal 1

    Declaration
    public int BottomRowIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    LeftColumnIndex

    Returns the 0-based index of the first column the graphic object is "attached" to.

    e.g. if Col1 equals 0, Excel column coordinate will equal "A"

    Declaration
    public int LeftColumnIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    LeftColumnLetter

    Gets or sets the left column letter, e.g. "A"

    This property is an alternative way to set column coordinates. Also take a look at LeftColumnIndex.

    Declaration
    public string LeftColumnLetter { get; set; }
    Property Value
    Type Description
    System.String

    The left column letter.

    RightColumnIndex

    Returns the 0-based index of the last column the graphic object is "attached" to.

    e.g. if RightColumnIndex equals 0, Excel column coordinate will equal "A"

    Declaration
    public int RightColumnIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    RightColumnLetter

    Gets or sets the left column letter, e.g. "A"

    This property is an alternative way to set column coordinates. Also take a look at RightColumnIndex.

    Declaration
    public string RightColumnLetter { get; set; }
    Property Value
    Type Description
    System.String

    The right column letter.

    TopRowIndex

    Returns the 0-based index of the first row the graphic object is "attached" to.

    e.g. if TopRowIndex equals 0, Excel row coordinate will equal 1

    Declaration
    public int TopRowIndex { get; set; }
    Property Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronXL to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronXL free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.