IUserAccessiableSetTextFormat Method |
Relevant for all question types.
Will set a text object by using piping methods into one place holder or more in the relevant question body
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax void SetTextFormat(
int inQuesIdx,
params DVar[] inValues
)
Parameters
- inQuesIdx
- Type: SystemInt32
Target question index - inValues
- Type: SurveyToGo.UserLogic.InterfacesDVar
One text object or more - if more, seperate with a comma
Return Value
Type:
None
Examples If we have a question indexed 4, and we would like to pipe text into its body ,
by having one place holder or more in it ({0}) , we can use this function
as follows: SetAnswerTextFormat(QRef(4),"just a text object",);
it will pipe the text we wrote into the place holder
See Also