摘要:
Option ExplicitOption Base 1Private Declare Function timeGetTime Lib "winmm.dll" () As LongConst Nums = 10Private Sub Command1_Click()Dim t As LongDim Num(Nums) As LongDim i, n As LongDim s As Stringt = timeGetTimeRandomizeFor i = 1 To Numsn = Int(Rnd * Nums) + 1If Num(n) = 0 Then Num(n) = n s = s &
阅读全文
posted @ 2010-12-19 12:16
GIS的学习
阅读(168)
推荐(0)
摘要:
VB中关于randomize和rnd函数的这段话什么意思? 悬赏分:10 | 解决时间:2007-8-7 10:01 | 提问者:piaoliuxing126 最佳答案
阅读全文
posted @ 2010-12-16 23:55
GIS的学习
阅读(666)
推荐(0)
摘要:
详细说明:ArcGIS的文档文件*.mxd对外格式是不公开的,里面保存有当前各图层名称、符号、颜色、线性、字体等属性特征,通过ULTRAEDIT读取其二进制格 式,编程实现获取点、线、面图层名称、存放路径,mxd文件图层个数等相关信息的读写功能-Arc GIS Documents*. mxd external format is not open, and inside the layers to preserve the current name, symbol, color, linear, fonts and other attributes, through Ultraedit
阅读全文
posted @ 2010-12-14 18:26
GIS的学习
阅读(3995)
推荐(0)
摘要:
ESRI's products ArcGIS Engine, ArcGIS Desktop and ArcGIS Server use style files to store and manage collections of symbols. A symbol is a graphic used to represent a geographic feature or class of features.?Styles contains named?and categorized symbols for various geographic entities like points, li
阅读全文
posted @ 2010-12-14 18:21
GIS的学习
阅读(700)
推荐(0)
摘要:
本文试图在.net Framework环境下,使用C#语言来描述委托、事件的概貌。希望本文能有助于大家理解委托、事件的概念,理解委托、事件的用途,理解它的C#实现方 法,理解委托与事件为我们带来的好处。C#是一种新的语言,希望大家能通过本文清楚地看到这些,从而可以对委托、事件等技术进行更深入的理解和探索。 一. 委托 委托的本质 --在C#中,委托是一个特殊的类; --在某种程度上,相当于C++的函数指针; --在某种程度上,相当于接口(Interface); 委托的定义 --关键字:delegate --public delegate void MyDele
阅读全文
posted @ 2010-12-12 15:31
GIS的学习
阅读(1142)
推荐(1)
摘要:
public class CustomStyleHelper { public static void DoSerialize(string strFile,CustomStyle customstyle) { using (FileStream fs = new FileStream(strFile, FileMode.OpenOrCreate)) { XmlSerializer formatter = new XmlSerializer(typeof(CustomStyle)); formatter.Serialize(fs, customstyle); } } public static
阅读全文
posted @ 2010-12-10 15:38
GIS的学习
阅读(263)
推荐(0)
摘要:
序列化和反序列化我们可能经常会听到,其实通俗一点的解释,序列化就是把一个对象保存到一个文件或数据库字段中去,反序列化就是在适当的时候把这个文件再转化成原来的对象使用。 序列化和反序列化最主要的作用有: 1、在进程下次启动时读取上次保存的对象的信息 2、在不同的AppDomain或进程之间传递数据 3、在分布式应用系统中传递数据 ...... 在C#中常见的序列化的方法主要也有三个:BinaryFormatter、SoapFormatter、XML序列化 本文就通过一个小例子主要说说这三种方法的具体使用和异同点 这个例子就是使用三种不同的方式把一个Book对象进行序列化和反序列化,当然这个
阅读全文
posted @ 2010-12-10 13:40
GIS的学习
阅读(213)
推荐(0)
摘要:
search it from baidu zhidao please
阅读全文
posted @ 2010-12-10 13:35
GIS的学习
阅读(157)
推荐(0)
摘要:
[code] c#,arcengine,Arcobjects建立拓扑的完整例子 public void ValidateTopology(ITopology topology, IEnvelope envelope){ // Get the dirty area within the provided envelope. IPolygon locationPolygon = new PolygonClass(); ISegmentCollection segmentCollection = (ISegmentCollection)locationPolygon; segmentC
阅读全文
posted @ 2010-12-08 10:29
GIS的学习
阅读(3045)
推荐(1)
摘要:
SDO_FILTER 格式: SDO_FILTER(geometry1, geometry2, params); 描述: 通过空间索引,根据给定的几何要素检索出具有空间相互关系的空间对象。这里的空间关系是指两个几何不分离,即Non-disjoint。【disjoint:表示两个几何的边和内部都不相交】 这个Sdo_Filter执行只是初始的空间过滤操作;二次的过滤操作将由SDO_RELATE操作子完成,它能确定空间对象的相交关系。 参数: geometry1: 指需要查询表中几何列,该几何列务必已经建立空间索引。该列的数据类型为:MDSYS.SDO_GEOMETRY。 geometry2
阅读全文
posted @ 2010-12-07 12:34
GIS的学习
阅读(417)
推荐(0)