REGIONオブジェクトの連結性設定関数

Namespace: fvalgcli
Assembly: fvalgcli (in fvalgcli.dll) Version: 3.1.0.0 (3.1.0.11)

Syntax

C#
public static int fnFIE_region_set_connection(
	FHANDLE hreg,
	int connection
)
Visual Basic
Public Shared Function fnFIE_region_set_connection ( 
	hreg As FHANDLE,
	connection As Integer
) As Integer

Parameters

hreg
Type: fvalgcli..::..FHANDLE
REGIONハンドル
connection
Type: System..::..Int32
連結性
  • 8 : 8連結
  • 4 : 4連結

Return Value

Type: Int32
以下のエラーコードを返します。

エラーコード:
f_err内容
F_ERR_NONE正常終了
F_ERR_INVALID_PARAM不正なパラメータ
F_ERR_INVALID_OBJECT不正なハンドル
F_ERR_NO_LICENCEライセンスエラー、または未初期化エラー

Remarks

Examples

C# Copy imageCopy
//    $Revision: 1.1 $

using System;
using System.Collections.Generic;
using System.Text;
using fvalgcli;

namespace TC
{
    public partial class FIE
    {
        public void fnFIE_region_set_connection(FHANDLE hRegion)
        {
            try
            {
                int connection = 4;
                int status = api.fnFIE_region_set_connection(hRegion, connection);
                Assert.IsTrue(status == (int)f_err.F_ERR_NONE, "fnFIE_region_set_connection: エラーが発生しました。({0})", (f_err)status);
                Console.WriteLine("fnFIE_region_set_connection");
            }
            finally
            {
            }
        }
    }
}


Visual Basic Copy imageCopy
'    $Revision: 1.1 $

Imports System.Collections.Generic
Imports System.Text
Imports fvalgcli

Public Partial Class FIE
    Public Sub fnFIE_region_set_connection(hRegion As FHANDLE)
        Try
            Dim connection As Integer = 4
            Dim status As Integer = api.fnFIE_region_set_connection(hRegion, connection)
            Assert.IsTrue(status = CInt(f_err.F_ERR_NONE), "fnFIE_region_set_connection: エラーが発生しました。({0})", CType(status, f_err))
            Console.WriteLine("fnFIE_region_set_connection")
        Finally
        End Try
    End Sub
End Class

See Also