跳到主要内容

ReplacePageContent

Replaces the page content with the specified parameters.

Syntax

expression.ReplacePageContent(nPage, oParams);

expression - A variable that represents a 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