?? mitab__capi_8cpp.html
字號:
<td class="paramtype">double </td>
<td class="paramname"> <em>west</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create a new .TAB or .MIF dataset.
<p>
Note that it is not possible to open a file for update (i.e. read+write) with the current version of the library.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td>the complete filename (including extension .TAB or .MIF) of the file to create. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>mif_or_tab</em> </td><td>one of "mif" to create a .MIF dataset or "tab" to create a .TAB dataset. The default is to create a TAB dataset if this parameter's value is NULL or an empty string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>mif_projection</em> </td><td>the projection to use for the dataset, in the same format that is used in the "CoordSys" line of a MIF file header. If this parameter's value is NULL or empty then a LAT/LON coordsys is assumed. See also <a class="el" href="mitab__capi_8cpp.html#4b2485ecf008b4773ec6ec1e23fb5263" title="Get the MIF CoordSys string from an opened dataset.">mitab_c_get_mif_coordsys()</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>north</em> </td><td>the upper dataset bound. Note that valid bounds are required for a .TAB dataset otherwise data may not be stored properly in the file. MITAB knows the default bounds only for the most common MapInfo coordinate systems, passing north,south,east,west as 0,0,0,0 will instruct MITAB to attempt to use the default bounds for that projection. If no default bounds are found for this projection then your data may not be stored properly in the file unless you provide valid bounds via the north,south,east,west parameters. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>south</em> </td><td>the lower dataset bound. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>east</em> </td><td>the right dataset bound. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>west</em> </td><td>the left dataset bound. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a valid mitab_handle, or NULL if the file could not be created. </dd></dl>
</div>
</div><p>
<a class="anchor" name="09d6727306cb2b6f07f2ffbe3378d866"></a><!-- doxytag: member="mitab_capi.cpp::mitab_c_create_feature" ref="09d6727306cb2b6f07f2ffbe3378d866" args="(mitab_handle handle, int feature_type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">mitab_feature MITAB_STDCALL mitab_c_create_feature </td>
<td>(</td>
<td class="paramtype">mitab_handle </td>
<td class="paramname"> <em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>feature_type</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create a new mitab_feature object to be written to a dataset created using <a class="el" href="mitab__capi_8cpp.html#00001954939919bc111937e9b82adce3" title="Create a new .TAB or .MIF dataset.">mitab_c_create()</a>.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>handle</em> </td><td>the handle of the dataset opened for write access. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>feature_type</em> </td><td>the type of feature object to create. At this point, only the following types can be created by this C API function: 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) and TABFC_Collection (11) </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the new mitab_feature object, or NULL if creation failed. Note that the new object will have to be released using <a class="el" href="mitab__capi_8cpp.html#ffaa82053bac8720d7a0bf5179b3c9aa" title="Destroy a mitab_feature object and release all memory associated with it.">mitab_c_destroy_feature()</a>. </dd></dl>
</div>
</div><p>
<a class="anchor" name="ffaa82053bac8720d7a0bf5179b3c9aa"></a><!-- doxytag: member="mitab_capi.cpp::mitab_c_destroy_feature" ref="ffaa82053bac8720d7a0bf5179b3c9aa" args="(mitab_feature feature)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MITAB_STDCALL mitab_c_destroy_feature </td>
<td>(</td>
<td class="paramtype">mitab_feature </td>
<td class="paramname"> <em>feature</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destroy a mitab_feature object and release all memory associated with it.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>feature</em> </td><td>the mitab_feature to destroy. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="819f7157378b73de355d49f02fb7ce56"></a><!-- doxytag: member="mitab_capi.cpp::mitab_c_get_brush_bgcolor" ref="819f7157378b73de355d49f02fb7ce56" args="(mitab_feature feature)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int MITAB_STDCALL mitab_c_get_brush_bgcolor </td>
<td>(</td>
<td class="paramtype">mitab_feature </td>
<td class="paramname"> <em>feature</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get an object's brush background color property.
<p>
Applies to region, ellipse and rectangle objects.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>feature</em> </td><td>the mitab_feature object. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the brush background color (24 bits RGB value). </dd></dl>
</div>
</div><p>
<a class="anchor" name="34a06298366b57d98bc7b1870c6579db"></a><!-- doxytag: member="mitab_capi.cpp::mitab_c_get_brush_fgcolor" ref="34a06298366b57d98bc7b1870c6579db" args="(mitab_feature feature)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int MITAB_STDCALL mitab_c_get_brush_fgcolor </td>
<td>(</td>
<td class="paramtype">mitab_feature </td>
<td class="paramname"> <em>feature</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get an object's brush foreground color property.
<p>
Applies to region, ellipse and rectangle objects.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>feature</em> </td><td>the mitab_feature object. </td></tr>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -