trichview.support
Re: HTML file name |
Author |
Message |
Sergey Tkachenko |
Posted: 04/30/2004 15:59:22 Well, you can use SaveHTMLToStream/SaveHTMLToStreamEx, You can save it in TFileStream, and specify any path as a parameter. > I want the subdirectory created base on the HTML file name(as what rv action > did). For example, the file name is "Test', I would like the directory name > to be "...\Test_files\...". I know that this can be achieved by simply set > the image prefix to the subdirectory path. But what if I would like to save > the image myself during the OnHTMLSaveImage?'> > I know that saving the file name into a variable is one of the solution, but > it works only when there is only one HTML file to be exported at once. What > if there were threads spawned purposely for exporting HTML files? Again, I > know I can save the info into a StringList or something, but this will make > the code looks untidy while I can easily get the file path but I have to > every time save a list of record just to keep track of the file name. Well, > that's just my opinion. |
Powered by ABC Amber Outlook Express Converter