Quintiq file version 2.0
#parent: CustomDrawComponent/CustomDrawDataLayerGridBackground
Response OnDetermineRegion (
  MacroPlan object
) id:Response_CustomDrawComponent_CustomDrawDataLayerGridBackground_OnDetermineRegion
{
  #keys: '[11660.0.348769027]'
  Body:
  [*
    // Determine region for grid
    if ( not isnull( DataHolderView.Data() ) )
    {
      DataHolderView.Data().GridPointDistance();
      this.AddRegion( DataHolderView.Data().OffsetX(), DataHolderView.Data().OffsetY(), DataHolderView.Data().GridWidth(), DataHolderView.Data().GridHeight() );
    }
  *]
  DefinitionID: 'Responsedef_CustomDrawDataLayer_OnDetermineRegion'
}
