Example

//--------------------------------------------------------------------
// ECLSession::GetPageSettings
//
// Get PageSettings object from session object and use it.
//--------------------------------------------------------------------
void Sample124() {
   ECLSession *Sess;       // Pointer to Session object for connection A
   ECLPageSettings *PgSet; // PageSettings object pointer

   try {
      Sess = new ECLSession('A');
      PgSet = Sess->GetPageSettings();
      printf("FaceName = %s\n", PgSet->GetFontFaceName());
      delete Sess;
   }
   catch (ECLErr Err) {
      printf("ECL Error: %s\n", Err.GetMsgText());
   }
} // end sample