Skip to main content

ReplacePageContent

Replaces the page content with the specified parameters.

Syntax​

expression.ReplacePageContent(nPage, oParams);

expression - A variable that represents an Api class.

Parameters​

NameRequired/OptionalData typeDefaultDescription
nPageRequirednumberThe page index.
oParamsRequiredobjectThe replacement parameters.
oParams.typeRequired"xml" | "html"The type of content to be replaced (XML / HTML).
oParams.optionsRequiredReplaceXmlOptions | ReplaceHtmlOptionsThe content replacement options.

Returns​

boolean