91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 8.9MB
    文件類型: .gz
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-10-12
  • 語(yǔ)言: 其他
  • 標(biāo)簽: lib??

資源簡(jiǎn)介

libmitab。so資源庫(kù)源碼,1.7.0版,編譯通過(guò)可正常使用

資源截圖

代碼片段和文件信息

//?$Id:?MiApi.csv?1.2?2005/03/24?17:02:06?dmorissette?Exp?$
//

using?System;
using?System.Runtime.InteropServices;
using?System.IO;
using?System.Collections;

namespace?EBop.Mapobjects.MapInfo?{

//?feature?type?values
public?enum?FeatureType?{
TABFC_NoGeom?=?0
TABFC_Point?=?1
TABFC_FontPoint?=?2
TABFC_CustomPoint?=?3
TABFC_Text?=?4
TABFC_Polyline?=?5
TABFC_Arc?=?6
TABFC_Region?=?7
TABFC_Rectangle?=?8
TABFC_Ellipse?=?9
TABFC_MultiPoint?=?10};

public?enum?FieldType?{?
TABFT_Char?=?1
TABFT_Integer?=?2
TABFT_SmallInt?=?3
TABFT_Decimal?=?4
TABFT_Float?=?5
TABFT_Date?=?6
TABFT_Logical?=?7};

public?enum?Justification?{
TABTJ_Left?=?0
TABTJ_Center?=?1
TABTJ_Right?=?2};

public?enum?TextSpacing?{
TABTS_Single?=?0
TABTS_1_5?=?1
TABTS_Double?=?2};

//?test?linetype
public?enum?LineSpacing?{
TABTL_NoLine?=?0
TABTL_Simple?=?1
TABTL_Arrow?=?2};

///?
///?Wrapper?functions?for?the?version?1.3.0?of?the?MapInfo?Tab?API.
///?

///?
///?Requires?mitab.dll?(www.maptools.org)
///?See?http://mitab.maptools.org/
///?
///?Graham?Sims
///?Environment?Bay?of?Plenty?Whakatane?New?Zealand
///?http://www.envbop.govt.nz
///?

public?class?MiApi?{

private?MiApi()?{
}

///?
///?Returns?the?version?of?the?library.?
///?

///?An?integer?representing?the?current?version?of?the?MITAB?library?in?the?
///?format?xxxyyyzzz?e.g.?returns?1002004?for?v1.2.4.??
///?

[DllImport(“mitab.dll“)]
public?static?extern?int?mitab_c_getlibversion();

///?
///?Get?the?last?error?message.?
///?

///?
///?Fetches?the?last?error?message?posted?with?CPLError()?that?hasn‘t?been?cleared?by?CPLErrorReset().?
///?The?returned?pointer?is?to?an?internal?string?that?should?not?be?altered?or?freed.?
///?

///?A?pointer?to?the?last?error?message?or?an?empty?string?if?there?is?no?posted?error?message
[DllImport(“mitab.dll“?EntryPoint=“mitab_c_getlasterrormsg“)]
private?static?extern?IntPtr?_mitab_c_getlasterrormsg();
public?static?string?mitab_c_getlasterrormsg()?{
return?Marshal.PtrToStringAnsi(_mitab_c_getlasterrormsg());
}

// [DllImport(“mitab.dll“)]
// public?static?extern?int?mitab_c_getlasterrormsg_vb?(
// [MarshalAs(UnmanagedType.LPStr?SizeConst?=?260)]?string?errormsg?int?l);

///?
///?Fetch?the?last?error?number.?
///?

///?This?is?the?error?number?not?the?error?class.?
///?The?error?number?of?the?last?error?to?occur?or?CPLE_None?(0)?if?there?are?no?posted?errors
[DllImport(“mitab.dll“)]
public?static?extern?int?mitab_c_getlasterrorno();

///?
///?Open?an?existing?.TAB?or?.MIF?dataset?for?read?access.?
///?

///?The?function?automatically?detects?the?format?(.MIF?or?.TAB)?of?the?specified?file.
///?Note?that?i

評(píng)論

共有 條評(píng)論