2.1.7.13 okxf_init_range_from_string


Description

Construct data range by string

Syntax

BOOL okxf_init_range_from_string( DataRange * dr, LPCSTR lpcsz, BOOL bLabelAreaSupported = FALSE )

Parameters

dr
[output] pointer to receive the DataRange
lpcsz
[input] range string
bLabelAreaSupported
[input] if TRUE label area is supported

Return

TRUE if successful otherwise FALSE

Examples

EX1

void okxf_init_range_from_string_ex()
{
    string strRange = "[Book1]Sheet1!(A,B)";     
    XYRange dr;
    okxf_init_range_from_string(&dr, strRange);
    out_str( dr.GetDescription() );
}

Remark

See Also

okxf_resolve_tree_construct_range

Header to Included

xfutils.h

Reference