OfficeIMO

API Reference

Class

PowerPointTableColumn`1

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint
Modifiers sealed

Describes a column binding for table creation.

Inheritance

  • Object
  • PowerPointTableColumn`1

Type Parameters

T

Constructors

public PowerPointTableColumn<T>(String header, Func<T, Object> valueSelector) #

Initializes a new column binding.

Parameters

header System.String requiredposition: 0
valueSelector System.Func{`0,System.Object} requiredposition: 1

Methods

public static PowerPointTableColumn<T> Create(String header, Func<T, Object> valueSelector) #
Returns: PowerPointTableColumn<T>

Creates a column binding.

Parameters

header System.String requiredposition: 0
valueSelector System.Func{`0,System.Object} requiredposition: 1
public PowerPointTableColumn<T> WithWidth(Int64 widthEmus) #
Returns: PowerPointTableColumn<T>

Sets the column width in EMUs.

Parameters

widthEmus System.Int64 requiredposition: 0
public PowerPointTableColumn<T> WithWidthCm(Double widthCm) #
Returns: PowerPointTableColumn<T>

Sets the column width in centimeters.

Parameters

widthCm System.Double requiredposition: 0
public PowerPointTableColumn<T> WithWidthInches(Double widthInches) #
Returns: PowerPointTableColumn<T>

Sets the column width in inches.

Parameters

widthInches System.Double requiredposition: 0
public PowerPointTableColumn<T> WithWidthPoints(Double widthPoints) #
Returns: PowerPointTableColumn<T>

Sets the column width in points.

Parameters

widthPoints System.Double requiredposition: 0

Properties

public String Header { get; } #

Column header text.

public Func<T, Object> ValueSelector { get; } #

Selector for cell values.

public Nullable<Int64> WidthEmus { get; set; } #

Explicit column width in EMUs.