Click or drag to resize

PdfTableColumn Constructor (String, String, Double, PdfTextAlignment, Double, Double)

Initializes a new instance of the PdfTableColumn class. The key is used to do a lookup in a collection or Dictionary for property values.

Namespace:  Atalasoft.PdfDoc.Generating.Shapes
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public PdfTableColumn(
	string key,
	string displayText,
	double columnWidth,
	PdfTextAlignment textAlignment,
	double textPaddingLeft,
	double textPaddingRight
)

Parameters

key
Type: SystemString
Key for column. This should be the same as the property name of the object or Dictionary<string,string> key.
displayText
Type: SystemString
Text to show in table column header
columnWidth
Type: SystemDouble
The width the column should span
textAlignment
Type: Atalasoft.PdfDoc.Generating.ShapesPdfTextAlignment
The horizontal alignment for the column text
textPaddingLeft
Type: SystemDouble
The amount of padding to the left of the text for the column
textPaddingRight
Type: SystemDouble
The amount of padding to the right of the text for the column
See Also