ImageFilesCreateImageFromBitmap Method
|
This method creates an
ImageFile object from an existing
MemoryBitmap object and adds
it to the collection.
Namespace:
Kofax.OmniPageCSDK.IproPlus
Assembly:
Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntaxpublic void CreateImageFromBitmap(
string FileName,
IMF_FORMAT Format,
MemoryBitmap Bitmap,
out ImageFile NewImage
)
Public Sub CreateImageFromBitmap (
FileName As String,
Format As IMF_FORMAT,
Bitmap As MemoryBitmap,
<OutAttribute> ByRef NewImage As ImageFile
)
public:
void CreateImageFromBitmap(
[InAttribute] String^ FileName,
[InAttribute] IMF_FORMAT Format,
[InAttribute] MemoryBitmap^ Bitmap,
[OutAttribute] ImageFile^% NewImage
)
Parameters
- FileName
- Type: SystemString
- Format
- Type: Kofax.OmniPageCSDK.IproPlusIMF_FORMAT
- Bitmap
- Type: Kofax.OmniPageCSDK.IproPlusMemoryBitmap
- NewImage
- Type: Kofax.OmniPageCSDK.IproPlusImageFile
Remarks
This method also returns a reference to the ImageFile object created. The Format parameter specifies the image type as described
at the Format property description of the ImageFile object.
If a file with the specified FileName already exists, it will be overwritten.
See Also