skip to main content
TGO > Programmers documentation > Business objects and data sources > Off-page connectors > Creating an off-page connector with the API
 
Creating an off-page connector with the API
The following example shows how to create an off-page connector and add it to a network component.
How to create an off-page connector with the API
 
IltDefaultDataSource dataSource = new IltDefaultDataSource();
IltOffPageConnector opc = new IltOffPageConnection("Region B");
IlpPoint center = new IlpPoint(190, 190);
opc.setPosition(center);
datasource.addObject(opc);}

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.