Indesign Scripting Reference
home | search | Links
VBScript >> Column

Column

A column in a table.

Column Properties

Property Type Access Description
AutoGrow Boolean r/w If true, rows in the object will expand vertically to fit their content.
BottomEdgeStrokeColor Swatch r/w The color of the stroke applied to the bottom edge.
BottomEdgeStrokeGapColor Swatch r/w The gap color applied to the bottom edge.
BottomEdgeStrokeGapOverprint Boolean r/w If true, the gap color applied to the bottom edge will overprint.
BottomEdgeStrokeGapTint Double r/w The tint percentage applied to the gap color of the bottom edge.
BottomEdgeStrokeOverprint Boolean r/w If true, overprint the bottom edge.
BottomEdgeStrokeTint Double r/w The tint percentage applied to the color of the bottom edge.
BottomEdgeStrokeType StrokeStyle r/w The stroke style applied to the bottom edge.
BottomEdgeStrokeWeight Unit (Double or String) r/w The stroke weight applied to the bottom edge.
BottomInset Unit (Double or String) r/w The bottom inset.
Cells Cells read The cells in the object.
ClipContentToCell Boolean r/w If true, clip cell content to fit the cell.
Columns Columns read All columns in the object.
ColumnSpan Long read The number of columns in the object.
Contents String, idSpecialCharacters enumeration (see table at end of chapter), Array of Strings or idSpecialCharacters enumerators, idNothingEnum enumeration, Array of Strings, idSpecialCharacters enumerators or idNothingEnum enumerators r/w The text contents.
DiagonalLineInFront Boolean r/w If true, the diagonal line(s) will appear in front of the content in the cells of the object.
DiagonalLineStrokeColor Swatch r/w The color of the stroke applied to the diagonal line(s).
DiagonalLineStrokeGapColor Swatch r/w The gap color of the stroke applied to the diagonal line(s).
DiagonalLineStrokeGapOverprint Boolean r/w If true, overprint the gap of the diagonal line(s).
DiagonalLineStrokeGapTint Double r/w The tint percentage applied to the gap color of the diagonal line(s).
DiagonalLineStrokeOverprint Boolean r/w If true, overprint the diagonal line(s).
DiagonalLineStrokeTint Double r/w The tint percentage applied to the diagonal line(s).
DiagonalLineStrokeType StrokeStyle r/w The stroke style applied to the diagonal line(s).
DiagonalLineStrokeWeight Unit (Double or String) r/w The stroke weight of the diagonal line(s).
FillColor Swatch, String r/w The fill of the object.
FillTint Double r/w The tint percentage applied to the fill of the object (-1 indicates 100%).
FirstBaselineOffset idFirstBaseline enumeration r/w The distance between the baseline of the first line of text in the object and the top inset of object.
GradientFillAngle Double r/w The angle of the gradient applied to the fill of the object.
GradientFillLength Double r/w Length (for a linear gradient) or radius (for a radial gradient) of the gradient applied to the fill of the object.
GradientFillStart Array of 2 Units (Doubles or Strings) r/w Starting point (for a linear gradient) or center point (for a radial gradient) of a gradient applied to the fill of the object.
Height Unit (Double or String) r/w The height of the object.
Index Long read Index of the object within its parent object.
InnerColumnStrokeColor Swatch r/w The color of the stroke applied to the inner column.
InnerColumnStrokeGapColor Swatch r/w The gap color of the inner column.
InnerColumnStrokeGapOverprint Boolean r/w If true, overprint the stroke gap of the inner column.
InnerColumnStrokeGapTint Double r/w The tint percentage applied to the stroke gap color of the inner column.
InnerColumnStrokeOverprint Boolean r/w If true, overprint the stroke applied to the inner column.
InnerColumnStrokeTint Double r/w The tint percentage applied to the stroke of the inner column.
InnerColumnStrokeType StrokeStyle r/w The stroke style applied to the inner column.
InnerColumnStrokeWeight Unit (Double or String) r/w The stroke weight applied to the inner column.
InnerRowStrokeColor Swatch r/w The color of the stroke applied to the inner row.
InnerRowStrokeGapColor Swatch r/w The gap color of the stroke applied to the inner row.
InnerRowStrokeGapOverprint Boolean r/w If true, overprint the gap of the stroke applied to the inner row.
InnerRowStrokeGapTint Double r/w The tint percentage applied to the stroke gap color of the inner row.
InnerRowStrokeOverprint Boolean r/w If true, the stroke applied to the inner row will overprint.
InnerRowStrokeTint Double r/w The tint percentage applied to the stroke color of the inner row.
InnerRowStrokeType StrokeStyle r/w The stroke style applied to the inner row.
InnerRowStrokeWeight Unit (Double or String) r/w The stroke weight applied to stroke of the inner row.
KeepWithNextRow Boolean r/w If true, keep this row with the next row.
LeftEdgeStrokeColor Swatch r/w The color of the stroke applied to the left edge.
LeftEdgeStrokeGapColor Swatch r/w The gap color of the stroke applied to the left edge.
LeftEdgeStrokeGapOverprint Boolean r/w If true, overprint the gap of the stroke applied to the left edge.
LeftEdgeStrokeGapTint Double r/w The tint percentage applied to the stroke gap color of the left edge.
LeftEdgeStrokeOverprint Boolean r/w If true, overprint the stroke applied to the left edge.
LeftEdgeStrokeTint Double r/w The tint percentage applied to the stroke color of the left edge.
LeftEdgeStrokeType StrokeStyle r/w The stroke style applied to the left edge.
LeftEdgeStrokeWeight Unit (Double or String) r/w The stroke weight applied to the left edge of the cell.
LeftInset Unit (Double or String) r/w The left inset of the object.
MaximumHeight Unit (Double or String) r/w The maximum height of the row.
MinimumFirstBaselineOffset Unit (Double or String) (0 - 8640 points) r/w The minimum distance between the baseline of the first line of text in the object and the top inset object.
MinimumHeight Unit (Double or String) r/w Constrains the row height to an amount no smaller than this value. The row may be larger than this amount, however, as the row height will continue to grow automatically as text is added.
Name String read The name of the object.
Overflows Boolean read If true, the object contains overset text.
OverprintFill Boolean r/w If true, the fill of the object will overprint.
ParagraphSpacingLimit Unit (Double or String) r/w The maximum amount of space that will be added between paragraphs when vertical justification is set to justified.
Parent Object read The parent of the object.
ParentColumn Column read The parent column of the object.
ParentRow Row read The parent row of the object.
RightEdgeStrokeColor Swatch r/w The color of the stroke applied to the right edge.
RightEdgeStrokeGapColor Swatch r/w The gap color of the right edge.
RightEdgeStrokeGapOverprint Boolean r/w If true, overprint the gap of the stroke applied to the right edge.
RightEdgeStrokeGapTint Double r/w The tint percentage applied to the stroke gap color of the right edge.
RightEdgeStrokeOverprint Boolean r/w If true, overprint the stroke applied to the right edge.
RightEdgeStrokeTint Double r/w The tint percentage applied to the stroke color of the right edge.
RightEdgeStrokeType StrokeStyle r/w The stroke style applied to the right edge.
RightEdgeStrokeWeight Unit (Double or String) r/w The stroke weight applied to the right edge of the cell.
RightInset Unit (Double or String) r/w The right inset of the object.
RotationAngle Double r/w The rotation angle applied to the object, including any rotation applied to its containing object.
Rows Rows read The rows contained by the object.
RowSpan Long read The number of rows the object spans.
RowType idRowTypes enumeration r/w The type of the row.
StartRow idStartParagraph enumeration r/w Where to start the row.
TopEdgeStrokeColor Swatch r/w The color of the stroke applied to the top edge.
TopEdgeStrokeGapColor Swatch r/w The gap color of the top edge.
TopEdgeStrokeGapOverprint Boolean r/w If true, overprint the gap of the stroke applied to the top edge.
TopEdgeStrokeGapTint Double r/w The tint percentage applied to the stroke gap color of the top edge.
TopEdgeStrokeOverprint Boolean r/w If true, overprint the stroke applied to the top edge.
TopEdgeStrokeTint Double r/w The tint percentage applied to the stroke color of the top edge.
TopEdgeStrokeType StrokeStyle r/w The stroke style applied to the top edge.
TopEdgeStrokeWeight Unit (Double or String) r/w The stroke weight applied to the top edge of the cell.
TopInset Unit (Double or String) r/w The top inset of the object.
TopLeftDiagonalLine Boolean r/w If true, draw a diagonal line starting from the top left.
TopRightDiagonalLine Boolean r/w If true, draw a diagonal line starting from the top right.
VerticalJustification idVerticalJustification enumeration r/w The vertical justification alignment.
Width Unit (Double or String) r/w The width of the object.

Column Methods

Method Returns Description
CreateOutlines Array of PageItems Create outlines from the text.
Delete Nothing Deletes the object.
Merge Cell Merge cells together.
Recompose Nothing Recomposes the text in the object.
Redistribute Nothing Redistribute columns or rows.
Search Array of Texts Searches for text and returns a list of text objects matching the search string and/or formatting specified by the find preferences. Search can also replace the text and/or formatting. This command corresponds to InDesign’s Find/Change feature.
Select Nothing Selects the object.
Split Nothing Split the cell either horizontally or vertically.
Unmerge Array of Cells Unmerge the cells.