GraphLayer::GetAllLinkedLayersFrame

 

Description

Get smallest frame that include all linked layers

Syntax

void GetAllLinkedLayersFrame( RECT & rect )

Parameters

rect
[output] the smallest frame that include all linked layers

Return

Examples

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);
}

Remark

See Also

header to Included

origin.h