Get smallest frame that include all linked layers
void GetAllLinkedLayersFrame( RECT & rect )
EX1
void GraphLayer_GetAllLinkedLayersFrame_ex1() { GraphLayer gl = Project.ActiveLayer(); if( !gl.IsValid() ) return; RECT rect; gl.GetAllLinkedLayersFrame(rect); printf("GetAllLinkedLayersFrame left: %d, top: %d, right: %d, bottom: %d.\n", rect.left, rect.top, rect.right, rect.bottom); }
origin.h