Skip to content

Switch output profile

Sets the OutputProfile property used by subsequent Render a letter or report calls to either the standard PDF profile or a draft-watermark PDF profile.

Field Value
Operation ID OP-REPORTING-PROFILE
Trigger Caller invokes Reporting.ReportBase.SetDefaultProfile() or SetDraftProfile()
Inputs —
Outputs Updated OutputProfile value
Primary components Reporting.ReportBase.SetDefaultProfile, Reporting.ReportBase.SetDraftProfile
Entry point SAIF.Services.Printing\Reporting\ReportBase.vb

Steps

  1. SetDefaultProfile sets OutputProfile to the constant "PDF" (PROFILE_DEFAULT).
  2. SetDraftProfile sets OutputProfile to the constant "PDF_Draft_Watermark" (PROFILE_DRAFT).
  3. Affects which xPression output profile is requested on subsequent Render a letter or report calls.

Process flow

flowchart TD
    Start([SetDefaultProfile or SetDraftProfile called]) --> SetValue[Set OutputProfile constant]
    SetValue --> End([Affects next Render call])

Failure and edge-case behavior

  • No validation or error handling is involved; this is a simple property assignment.

Sources

  • SAIF.Services.Printing\Reporting\ReportBase.vb