| Quintiq file version 2.0 | 
| #parent: CustomDrawComponentRoutingConfigurator/CustomDrawDataLayerOperation | 
| Response OnDetermineRegion ( | 
|   Operation object | 
| ) id:Response_CustomDrawComponentRoutingConfigurator_CustomDrawDataLayerOperation_OnDetermineRegion | 
| { | 
|   #keys: '[124808.0.1222256453]' | 
|   Body: | 
|   [* | 
|     // Determine the region of operation | 
|     rcv := DataHolderRCView.Data(); | 
|      | 
|     width := rcv.OperationWidth(); | 
|     height := rcv.OperationHeight(); | 
|      | 
|     this.AddRegion( object.X(), object.Y(), width, height ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_CustomDrawDataLayer_OnDetermineRegion' | 
|   Precondition: | 
|   [* | 
|     return not isnull( DataHolderRCView.Data() ); | 
|   *] | 
| } |