AddResourceTag Method


Declare a new resource tag. By default the resource collection includes <LINK HREF="...">, <BODY BACKGROUND="...">, <TD BACKGROUND="..."> and <INPUT SRC="..."> tags. The collection may be cleared using ClearResourceTags method. Although this is rarely used, the collection may include several items with the same tag and different attributes. 

AddResourceTag method is especially useful when you need to parse any non-standard tags (something like <MYTAG MYATTR="resource file">).

Sample 6 shows how to use AddResourceTag and AddMimeType in order to incorporate PDF and DOC files in web archive MHT files.

ActiveX Script Syntax

Show Syntax

ActiveX C++ Syntax

Show Syntax

Library C++ Syntax

Show Syntax

- Back to API - WebArchiveX Website - C Systems Website


C Systems - Creative software solutions since 1996. All rights reserved. Terms of use.