画像情報取得(画像タイプ)
Namespace: fvalgcliAssembly: fvalgcli_fga (in fvalgcli_fga.dll) Version: 3.1.0.0 (3.1.0.3)
Syntax
C# |
---|
public static int fnFGA_img_get_type( FHANDLE himg ) |
Visual Basic |
---|
Public Shared Function fnFGA_img_get_type ( himg As FHANDLE ) As Integer |
Parameters
- himg
- Type: fvalgcli..::..FHANDLE
情報を取得する画像のハンドル
Return Value
Type: Int32正常終了した場合は、画像のタイプ(f_imgtype)を返します。 異常終了した場合は、-1を返します。
Examples
C# | Copy |
---|---|
// $Revision: 1.2 $ using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using fvalgcli; namespace TC { public partial class FIE { /// <summary> /// 画像情報取得(画像タイプ). /// </summary> [FvPluginExecute] public void fnFGA_img_get_type() { // fnFGA_img_child_alloc 参照. } } } |
Exceptions
Exception | Condition |
---|---|
System.IO..::..FileNotFoundException |
実行環境に NVIDIA CUDA Runtime が存在しない場合、FGA ライブラリのロードが失敗し、この例外が発行されます。 必要な環境については FGA ライブラリ説明書 をご参照ください。 例外メッセージの例 (32bit 日本語 O/S の場合): DLL 'fgamt.x86.3.0.0.dll' を読み込めません: 指定されたモジュールが見つかりません。 (HRESULT からの例外: 0x8007007E) |