ade_qrygetreptransform

Land Desktop Development ARX CPP SDK

Up a level
ade_qrygetreptransform
 
 

Checks whether transformation is enabled for the current report query.

int

ade_qrygetreptransform();

Returns TRUE or FALSE.

The following sample enables coordinate transformation for a report query using ade_qrysetreptransform(), then checks the status of the transformation flag using ade_qrygetreptransform().

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.");
}
int nIsEnabled = ade_qrygetreptransform();
if (1 == nIsEnabled){
    acutPrintf(
        "\nReport query transformation is enabled.");

}
else {
    acutPrintf(
        "\nReport query transformation is not enabled.");
}