Difference between revisions of "BASE64 ENCODE FILE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Yvonne.milne moved page BASE64 ENCODE FILE() to BASE64 ENCODE IMAGE()) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | ==Purpose== | |
+ | Function to generate the base64 encoded contents of a file and output it into the HTML5 | ||
+ | |||
+ | ==Syntax== | ||
+ | BASE64_ENCODE_FILE(<cFilename> [, <cType> [, <cWidth> [, <cHeight> [, <cCSSattribute>]]]]) | ||
+ | |||
+ | ==See Also== | ||
+ | [[BASE64_DECODE()]], [[BASE64_ENCODE()]], [[BASE64_ENCODE_IMAGE()]] | ||
+ | |||
+ | ==Description== | ||
+ | The BASE64_ENCODE_FILE() function is used to generate the base64 encoded contents of the file <cFilename> and output it into a WebView or the HTML5 sent to a browser. The optional <cType> can be used to specify the file type. If <cType> is an image type, the output will be enclosed in an IMG tag and the <cWidth> and <cHeight> can be used to specify the image dimensions and <cCSSattribute> to add additional CSS attributes. | ||
+ | |||
+ | |||
+ | ==Example== | ||
+ | |||
+ | |||
+ | [[Category:Documentation]] | ||
+ | [[Category:Functions]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Function Extensions]] |
Revision as of 08:54, 12 December 2013
Contents
Purpose
Function to generate the base64 encoded contents of a file and output it into the HTML5
Syntax
BASE64_ENCODE_FILE(<cFilename> [, <cType> [, <cWidth> [, <cHeight> [, <cCSSattribute>]]]])
See Also
BASE64_DECODE(), BASE64_ENCODE(), BASE64_ENCODE_IMAGE()
Description
The BASE64_ENCODE_FILE() function is used to generate the base64 encoded contents of the file <cFilename> and output it into a WebView or the HTML5 sent to a browser. The optional <cType> can be used to specify the file type. If <cType> is an image type, the output will be enclosed in an IMG tag and the <cWidth> and <cHeight> can be used to specify the image dimensions and <cCSSattribute> to add additional CSS attributes.