2.2.4.37.2 PolyPolylineGraphObject::GetDrawOption


Description

Get polyline draw option.

Syntax

DWORD GetDrawOption( )

Parameters

Return

polyline draw option.

Examples

EX1

void GetDrawOption_ex1()
{    
// Assumes the active graph layer contains PolyPolylineGraphObject 
    GraphLayer gl = Project.ActiveLayer();
    foreach(GraphObject obj in gl.GraphObjects)
    {
        PolyPolylineGraphObject plobj;
        plobj = obj;
        if( !plobj )
            continue;
            
        printf("%s has text: %s\n", plobj.GetName(), plobj.GetDrawOption() == POLYPOLYLINE_DRAW_OPTION_NEED_TEXT? "on" : "off");
    }
}

Remark

See Also

PolyPolylineGraphObject::SetDrawOption

Header to Included

origin.h