• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TableShape

Represents a table shape on a slide.

Inheritance
object
AbstractShape
TableShape
Implements
IDrawingObject
Inherited Members
AbstractShape.IsEffective
AbstractShape.Id
AbstractShape.Name
AbstractShape.Size
AbstractShape.ParentGroup
AbstractShape.GetGeometryPaths()
AbstractShape.AnchorPosition
AbstractShape.RelativePosition
AbstractShape.Position
AbstractShape.ShapeType
AbstractShape.FlipH
AbstractShape.FlipV
AbstractShape.PrintObject
AbstractShape.Locked
AbstractShape.Locks
AbstractShape.EnableLocks()
AbstractShape.Hidden
AbstractShape.IsCameo
AbstractShape.IsMathShape
AbstractShape.ZOrderPosition
AbstractShape.PlaceholderType
AbstractShape.Placeholder
AbstractShape.LockText
AbstractShape.AlternateText
AbstractShape.Tags
AbstractShape.Fill
AbstractShape.Line
AbstractShape.Effects
AbstractShape.HyperLink
AbstractShape.Action
AbstractShape.OleObject
AbstractShape.MediaObject
AbstractShape.SmartArt
AbstractShape.IsSmartArt
AbstractShape.BinaryExternalObject
AbstractShape.BinaryPreservedFragments
AbstractShape.RotationAngle
AbstractShape.SetImage(string)
AbstractShape.WithAdjustments(params long[])
AbstractShape.Adjustments
AbstractShape.PolygonPoints
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class TableShape : AbstractShape, IDrawingObject

Constructors

TableShape()

Initializes an empty table shape with live row and column collections.

Declaration
public TableShape()

Properties

ColumnWidthsEmu

Gets the widths (in EMU) of each column, in left-to-right order.

Declaration
public List<double> ColumnWidthsEmu { get; }
Property Value
Type Description
List<double>

Columns

Gets a typed collection of columns with Add/Insert/ Remove ergonomics. This is a live view over ColumnWidthsEmu.

Declaration
public TableColumnCollection Columns { get; }
Property Value
Type Description
TableColumnCollection

Format

Gets formatting options for the table as a whole.

Declaration
public TableShapeFormat Format { get; }
Property Value
Type Description
TableShapeFormat

Rows

Gets the rows of the table, in top-to-bottom order.

Declaration
public List<TableRow> Rows { get; }
Property Value
Type Description
List<TableRow>

StyleId

Gets or sets the GUID of the table style applied to this table. Corresponds to the style identifiers available in TableStylesInfo.

Declaration
public Guid? StyleId { get; set; }
Property Value
Type Description
Guid?

Methods

SetStyle(TableStyleName)

Applies a named built-in table style.

Declaration
public void SetStyle(TableStyleName styleName)
Parameters
Type Name Description
TableStyleName styleName

Implements

IDrawingObject
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX