Exports an embedded file to a directory (the embedded file name will be used for the output filename). If the embedded file is an image file, it will be modified if the image width is larger than Width pixel. If the embedded file is not an image file, it will be exported unmodified.

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool ExportEmbeddedFile(
	string strFileName,
	string strDirectory,
	short nWidth
)
Visual Basic (Declaration)
Public Function ExportEmbeddedFile ( _
	strFileName As String, _
	strDirectory As String, _
	nWidth As Short _
) As Boolean
Visual C++
public:
bool ExportEmbeddedFile(
	String^ strFileName, 
	String^ strDirectory, 
	short nWidth
)

Parameters

strFileName
Type: System..::.String
The name of the embedded file.
strDirectory
Type: System..::.String
The target directory of the file.
nWidth
Type: System..::.Int16
The maximum width an image file can have without modifying it. Larger images are scalled down to Width.

Return Value

Returns true on success.

See Also