Accusoft.FSInvoices1.Net - Updated
UpdatePageTemplates(ITemplateProvider,FormResult,ICompanyData,IVendor,Boolean,Licensing) Method




Accusoft.FSInvoices Namespace > TemplateIO Class > UpdatePageTemplates Method : UpdatePageTemplates(ITemplateProvider,FormResult,ICompanyData,IVendor,Boolean,Licensing) Method
Template provider for I/O management of the templates
FormResult for which to update templates.
Company associated with the FormResult.
Vendor associated with the FormResult.
Flag that specifies if new template creation is allowed.
License for the component.
Updates the templates for the specified FormResult.
Syntax
'Declaration
 
Public Overloads Shared Function UpdatePageTemplates( _
   ByVal templateProvider As ITemplateProvider, _
   ByVal formResult As FormResult, _
   ByVal company As ICompanyData, _
   ByVal vendor As IVendor, _
   ByVal allowNewTemplateCreation As Boolean, _
   ByVal license As Licensing _
) As Boolean
'Usage
 
Dim templateProvider As ITemplateProvider
Dim formResult As FormResult
Dim company As ICompanyData
Dim vendor As IVendor
Dim allowNewTemplateCreation As Boolean
Dim license As Licensing
Dim value As Boolean
 
value = TemplateIO.UpdatePageTemplates(templateProvider, formResult, company, vendor, allowNewTemplateCreation, license)
public static bool UpdatePageTemplates( 
   ITemplateProvider templateProvider,
   FormResult formResult,
   ICompanyData company,
   IVendor vendor,
   bool allowNewTemplateCreation,
   Licensing license
)
public: static bool UpdatePageTemplates( 
   ITemplateProvider* templateProvider,
   FormResult* formResult,
   ICompanyData* company,
   IVendor* vendor,
   bool allowNewTemplateCreation,
   Licensing* license
) 
public:
static bool UpdatePageTemplates( 
   ITemplateProvider^ templateProvider,
   FormResult^ formResult,
   ICompanyData^ company,
   IVendor^ vendor,
   bool allowNewTemplateCreation,
   Licensing^ license
) 

Parameters

templateProvider
Template provider for I/O management of the templates
formResult
FormResult for which to update templates.
company
Company associated with the FormResult.
vendor
Vendor associated with the FormResult.
allowNewTemplateCreation
Flag that specifies if new template creation is allowed.
license
License for the component.

Return Value

false
Remarks

If there is no template match and allowNewTemplateCreation is true, a new template will be created.

This overload uses a default FileImageProvider to save template images.

See Also

Reference

TemplateIO Class
TemplateIO Members
Overload List