|
- GIS论坛-GIS空间站 ( http://bbs.gissky.net/Default.asp ) -- Intergraph ( http://bbs.gissky.net/ShowForum.asp?forumid=28 ) --- 求助,Geomedia二次开发多边形分割问题 ( http://bbs.gissky.net/ShowPost.asp?id=33225 )
作者:zuozhijin
作者:zhouligis 你可以使用CustomSplitFeatureAdvisor Object对象进行处理。
The Split Feature Operation provides part of the functionality of the Split Feature command, which provides the ability to split features into two or more features of the same feature class. This will provide some flexibility for the user to customize the split functionality by providing a different split feature operation or, more likely, by writing a custom event handler to override or extend the behavior of this split feature operation. The controlling object must implement the GUI and interact with users to capture the split geometry. The split geometry is the geometry digitized by the user in the Split Feature command to split the target feature(s). For each feature contained in the select set, the SplitFeatureOperation will be invoked to perform the actual split work and to write the result to the warehouse. It provides the events that will allow the user to customize specific behavior in various locations through the use of the CustomSplitFeatureAdvisor object. The CustomSplitFeatureAdvisor object is the mechanism through which an operation object of type SplitFeature communicates with a custom event handler object. This object also implements the CustomSplitFeatureManager interface, which the operation object uses, mainly for raising events from this object to a custom event handler object and setting properties on the custom advisor. The operation object can have multiple custom event handler objects and can communicate with each event handler object through a separate CustomSplitFeatureAdvisor object.
作者:zuozhijin
Powered by GIS空间站 © 2002-2007
|