Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Anchor Enumeration


In This Topic
    Anchor Enumeration
    In This Topic
    Determines how a Picture is anchored in a Worksheet.
    Syntax
    'Declaration
     
    
    Public Enum Anchor 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As Anchor
    public enum Anchor : System.Enum 
    Members
    MemberDescription
    AbsoluteAnchorThis anchor uses the AbsolutePositionHeight and Width properties to determine the position of the PositionedElement in the Worksheet.
    OneCellAnchorThis anchor uses the AnchorPosition (with the same StartingElement and EndingElement), Height and Width properties to determine the position of the PositionedElement in the Worksheet. The TopLeftOffsets property can also be used to nudge the image using its top left corner as a reference point.
    TwoCellAnchorThis anchor uses the AnchorPosition (with different values for StartingElement and EndingElement) and Edit properties to determine the position of the PositionedElement in the Worksheet. The TopLeftOffsets and BottomRightOffsets properties can also be used to nudge the image using either its top left or bottom right corners as a reference point.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Workbooks.NET.Anchor

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also