Accusoft.FSInvoices1.Net - Updated
GetTemplateImage Method (FileTemplateProvider)




Accusoft.FSInvoices Namespace > FileTemplateProvider Class : GetTemplateImage Method
Company associated with the template.
Vendor associated with the template.
Identifier of the template associated with the image.
Gets the template image associated with the specified template identifier.
Syntax
'Declaration
 
Public Function GetTemplateImage( _
   ByVal company As ICompanyData, _
   ByVal vendor As IVendor, _
   ByVal templateId As String _
) As Stream
'Usage
 
Dim instance As FileTemplateProvider
Dim company As ICompanyData
Dim vendor As IVendor
Dim templateId As String
Dim value As Stream
 
value = instance.GetTemplateImage(company, vendor, templateId)
public Stream GetTemplateImage( 
   ICompanyData company,
   IVendor vendor,
   string templateId
)
public: Stream* GetTemplateImage( 
   ICompanyData* company,
   IVendor* vendor,
   string* templateId
) 
public:
Stream^ GetTemplateImage( 
   ICompanyData^ company,
   IVendor^ vendor,
   String^ templateId
) 

Parameters

company
Company associated with the template.
vendor
Vendor associated with the template.
templateId
Identifier of the template associated with the image.

Return Value

Stream with retrieved image; null if none found.
Exceptions
ExceptionDescription
Thrown when no template with the specified templateId could be found.
See Also

Reference

FileTemplateProvider Class
FileTemplateProvider Members