TPDFlibSmallBusiness
Editions
Description
TPDFlibSmallBusiness is the Small Business edition entry point. It derives from TPDFlibSBCertificate, which completes the chain of Small Business feature classes that starts at TPDFlib, and implements every Small Business method.
Code that needs Small Business behaviour must create this class (or TPDFlibEnterprise) instead of a plain TPDFlib; the same methods on TPDFlib return 0, an empty string or False and set LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED.
Syntax
Delphi
Uses PDFlibSmallBusiness;
Var
PDF: TPDFlibSmallBusiness;
Begin
PDF:= TPDFlibSmallBusiness.Create;
Try
...
Finally
PDF.Free;
End;
End;Fields
| CompareRenderedPagesWith | Rendered-page comparison, inherited from the Small Business comparison class |
|---|---|
| CompareDocumentVisualsWith | Document-wide visual comparison report |
| ValidateInvoiceBusinessRules | Invoice business-rule validation with a provider |
| NativeCapabilityEdition | Override that reports the edition identifier smallbusiness |
Remarks
The class is declared in PDFlibSmallBusiness.pas; creating it is the only way to enable the Small Business implementations at runtime.
TPDFlibEnterprise descends from this class, so the Enterprise edition also carries every Small Business method.
See also
TPDFlibEnterprise, EditionComparison, TPDFlib, CompareRenderedPagesWith