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¶
SetDefaultProfilesetsOutputProfileto the constant"PDF"(PROFILE_DEFAULT).SetDraftProfilesetsOutputProfileto the constant"PDF_Draft_Watermark"(PROFILE_DRAFT).- 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.
Related documentation¶
Sources¶
SAIF.Services.Printing\Reporting\ReportBase.vb