FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TXlsTemplateStore.LoadTemplateFromStream Method

Adds a template to the store from a stream.

Pascal
procedure LoadTemplateFromStream(const aStream: TStream; const aTemplateName: UTF16String);
C++
__fastcall LoadTemplateFromStream(const TStream aStream, const UTF16String aTemplateName);
Parameters 
Description 
const aStream: TStream 
Stream containing the Excel file. 
const aTemplateName: UTF16String 
Template name that will be used for the file. 

This method is used by the design time template editor to load templates into the component. Calling it from your code doesn't make that much sense since it would not be linked into the exe.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!