Show / Hide Table of Contents

Class AbstractShape

Inheritance
System.Object
AbstractShape
ConnectorShape
DiagramShape
GroupShape
PictureShape
Shape
Slicer
Timeline
Implements
IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Namespace: DRIT.Spreadsheet.Drawing
Assembly: DRIT.Spreadsheet.dll
Syntax
public class AbstractShape : object, IWorksheetDrawingObject, ISheetDrawingObject, IDrawingObject

Constructors

AbstractShape()

Declaration
protected AbstractShape()

Properties

Adjustments

Declaration
public List<long> Adjustments { get; }
Property Value
Type Description
List<System.Int64>

AlternateText

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

AnchoredCell

Gets or sets the cell tha shape is anchored to.

Declaration
public Cell AnchoredCell { get; set; }
Property Value
Type Description
Cell

AnchorPosition

Gets the shape's position relative to its anchor.

Declaration
public Position AnchorPosition { get; }
Property Value
Type Description
Position
Remarks

It is different if the shape is anchored to a cell.

Effects

Declaration
public Effects Effects { get; }
Property Value
Type Description
Effects

Fill

Declaration
public Fill Fill { get; }
Property Value
Type Description
Fill

FlipH

Declaration
public bool FlipH { get; set; }
Property Value
Type Description
System.Boolean

FlipV

Declaration
public bool FlipV { get; set; }
Property Value
Type Description
System.Boolean

HyperLink

Declaration
public Hyperlink HyperLink { get; set; }
Property Value
Type Description
Hyperlink

Id

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

Line

Declaration
public Line Line { get; }
Property Value
Type Description
Line

Locked

Declaration
public bool Locked { get; set; }
Property Value
Type Description
System.Boolean

LockText

Declaration
public bool LockText { get; set; }
Property Value
Type Description
System.Boolean

Name

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

ParentGroup

Declaration
public GroupShape ParentGroup { get; }
Property Value
Type Description
GroupShape

PolygonPoints

Declaration
public List<PointDoubleUnit> PolygonPoints { get; }
Property Value
Type Description
List<PointDoubleUnit>

Position

Declaration
public Position Position { get; }
Property Value
Type Description
Position

Positioning

Declaration
public AnchorProperties Positioning { get; set; }
Property Value
Type Description
AnchorProperties

PrintObject

Declaration
public bool PrintObject { get; set; }
Property Value
Type Description
System.Boolean

RelativePosition

Declaration
public RelativePosition RelativePosition { get; set; }
Property Value
Type Description
RelativePosition

RotationAngle

Declaration
public double RotationAngle { get; set; }
Property Value
Type Description
System.Double

ShapeType

Declaration
public ShapeType ShapeType { get; set; }
Property Value
Type Description
ShapeType

Sheet

Declaration
public Sheet Sheet { get; }
Property Value
Type Description
Sheet

Size

Declaration
public Size Size { get; }
Property Value
Type Description
Size

Worksheet

Declaration
public Worksheet Worksheet { get; }
Property Value
Type Description
Worksheet

Methods

SetImage(String)

Declaration
public virtual AbstractShape SetImage(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
AbstractShape

WithAdjustments(Int64[])

Declaration
public AbstractShape WithAdjustments(params long[] adjustments)
Parameters
Type Name Description
System.Int64[] adjustments
Returns
Type Description
AbstractShape

Explicit Interface Implementations

IWorksheetDrawingObject.BottomRightCell

Declaration
Cell IWorksheetDrawingObject.BottomRightCell { get; }
Returns
Type Description
Cell

Implements

IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Back to top Generated by DocFX