
413
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
PropVals
Syntax
GetProps()
SetProps
Description
The
SetProps()
method sets the properties of a specified object.
The method takes one argument - An array containing the values of the object to be set.
The method does not return anything on success.
On failure, the method returns one of the following values to
FA_errno
:
Constants.FE_WrongProduct (-60)
Current FrameMaker version does not support the specified operation.
Error
Reason
Constants.FE_BadDocId(-2)
Invalid document.
Constants.FE_BadName (-33)
Specified name is illegal.
Constants.FE_BadNewFrame (-14)
The method cannot move the specified object to this frame.
Constants.FE_BadNewGroup (-15)
The API cannot move the specified object to this graphic object group (FO_Group).
Constants.FE_BadNewSibling (-16)
Object cannot be made a sibling of the specified object.
Constants.FE_BadObjId (-3)
Invalid object.
Constants.FE_BadPropNum (-4)
Specified property number is invalid.
Constants.FE_BadPropType (-5)
Incorrect property type for this function.
Constants.FE_BadRange (-36)
Specified text range is invalid.
Constants.FE_CantSmooth (-38)
Object cannot be smoothed.
Constants.FE_DupName (-32)
Property cannot be set to this name because it is already used by another object.
Constants.FE_GenRuleAmbiguous (-55)
General rule in structured document is ambiguous.
Constants.FE_GenRuleConnectorExpected (-57)
General rule in structured document is missing a connector.
Constants.FE_GenRuleItemExpected (-51)
General rule in structured document is missing a rule item.
Constants.FE_GenRuleLeftBracketExpected (-53)
General rule in structured document is missing a left bracket.
Constants.FE_GenRuleMixedConnectors (-52)
General rule in structured document has mixed connectors.
Constants.FE_GenRuleRightBracketExpected (-54)
General rule in structured document is missing a right bracket.
Constants.FE_GenRuleSyntaxError (-56)
General rule in structured document has a syntax error.
Constants.FE_GroupSelect (-9)
The API cannot select or deselect an object in the specified group.
Constants.FE_HiddenPage (-40)
The specified value must be a hidden page (FO_HiddenPage).
Error
Reason