Accusoft.FSInvoices1.Net
SaveTemplateImage Method (FileTemplateProvider)




Company associated with the template.
Vendor associated with the template.
Identifier of the template associated with the template image being saved.
Stream with which to save the template image.
Saves the template image associated with the specified template identifier.
Syntax
'Declaration
 
Public Sub SaveTemplateImage( _
   ByVal company As ICompanyData, _
   ByVal vendor As IVendor, _
   ByVal templateId As String, _
   ByVal imageStream As Stream _
) 
'Usage
 
Dim instance As FileTemplateProvider
Dim company As ICompanyData
Dim vendor As IVendor
Dim templateId As String
Dim imageStream As Stream
 
instance.SaveTemplateImage(company, vendor, templateId, imageStream)
public void SaveTemplateImage( 
   ICompanyData company,
   IVendor vendor,
   string templateId,
   Stream imageStream
)
public: void SaveTemplateImage( 
   ICompanyData* company,
   IVendor* vendor,
   string* templateId,
   Stream* imageStream
) 
public:
void SaveTemplateImage( 
   ICompanyData^ company,
   IVendor^ vendor,
   String^ templateId,
   Stream^ imageStream
) 

Parameters

company
Company associated with the template.
vendor
Vendor associated with the template.
templateId
Identifier of the template associated with the template image being saved.
imageStream
Stream with which to save the template image.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThrown when no template with the specified templateId could be found.
See Also

Reference

FileTemplateProvider Class
FileTemplateProvider Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback