Example #1
0
 protected internal Feature(Layer layer, int featureId)
 {
     this.Id     = featureId;
     this.Layer  = layer;
     this.Handle = MiApi.mitab_c_read_feature(layer.Handle, featureId);
     this.Type   = MiApi.mitab_c_get_type(Handle);
     this.Style  = new FeatureStyle(Handle);
     this.Parts  = CreateParts(this);
 }
		protected internal Feature(Layer layer, int featureId) 
        {
			this.Id = featureId;
			this.Layer = layer;
			this.Handle = MiApi.mitab_c_read_feature(layer.Handle, featureId);
			this.Type = MiApi.mitab_c_get_type(Handle);
			this.Style = new FeatureStyle(Handle);
			this.Parts = CreateParts(this);
		}