vtiInsertHTML

C++: long vtiInsertHTML(LPCTSTR pszHTML);
VB: vtiInsertHTML(HTML as String) as Long

Description

This method inserts the HTML contained in passed string into the current page in the FrontPage Editor at the insertion point. This is designed to be a very simple, single API method for FrontPage addins to insert HTML into a web page.

Return Value

0 if the insert failed

1 if the insertion succeeded

Parameters

HTML is a string containing the exact pieces of HTML to insert into the active page in the Editor. FrontPage will automatically insert the specified HTML into a position in the page’s HTML where it is syntactically correct.