ade_qrysetreptransform

Land Desktop Development ARX CPP SDK

Up a level
ade_qrysetreptransform
 
 

Enables or disables transformation for the current report query.

int

ade_qrysetreptransform(

ade_boolean flag);

Returns RTNORM or an error code.

flag TRUE or FALSE, where TRUE = transformation enabled, and FALSE = transformation disabled.

The following sample enables coordinate transformation for a report query using ade_qrysetreptransform().

ade_boolean bTxfrmForReportQry = ADE_TRUE;
int resultCode = ade_qrysetreptransform(bTxfrmForReportQry);
if (RTNORM == resultCode){
    acutPrintf(
        "\nReport query transformation has been set.");

}
else {
    acutPrintf(
        "\nNo transformation flag has been set.");
}