
618
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
int
Syntax
AddCols(refColNum, direction, numNewCols)
Parameters
DeleteCols
Description
Deletes columns from a table. To delete an entire table, use
Delete()
.
The method deletes the column specified by
delColNum
and (
numDelCols-1
) columns to the right of it.
The method returns
FE_Success
on success.
On failure, the method sets
FA_errno
to one of the following values:
Returns
int
Syntax
DeleteCols(delColNum, numDelCols)
Constants.FE_BadParameter (-43)
A parameter specified is invalid.
Constants.FE_BadObjId (-3)
Invalid object.
Constants.FE_BadOperation (-27)
The method specified an invalid operation.
Parameter name
Data Type
Optional
Description
refColNum
int
No
The column at which to start adding columns. The columns are
numbered from left to right starting with column 0.
direction
int
No
The direction from the reference column in which to add
columns. To add columns to the left of the reference column,
specify FV_Left. To add them to the right, specify FV_Right.
numNewCols
int
No
The number of columns to add.
Error
Reason
Constants.FE_WrongProduct (-60)
Current FrameMaker version does not support the requested operation.
Constants.FE_BadOperation (-27)
The method specified an invalid operation.
Constants.FE_BadDocId (-2)
invalid document.
Constants.FE_BadObjId (-3)
Invalid object.
Constants.FE_TableInLockedTi (-101)
The table is in a locked text inset.
Error
Reason