GetModificationFindingDetail
诊断
需要 Small Business 版。在 Delphi、C++Builder 和 Lazarus 代码中,请将库创建为 TPDFlibSmallBusiness(单元 PDFlibSmallBusiness)或 TPDFlibEnterprise;Small Business 版和 Enterprise 版的 DLL 与 ActiveX 构建原样提供该类。Single 版保留此方法,它返回 0、空字符串或 False,并将 LastErrorCode 设置为 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
描述
返回一条缓存的修改发现的人类可读详细文本
语法
Delphi
Function GetModificationFindingDetail(Index: Integer): WideString; Virtual;ActiveX
Function PDFlib::GetModificationFindingDetail(Index As Long) As StringDLL
const wchar_t* DLGetModificationFindingDetail(int InstanceID, int Index);
const char* DLGetModificationFindingDetailA(int InstanceID, int Index);参数
| Index | 从 0 开始的发现索引,取值范围为 0 到 GetModificationFindingCount - 1 |
|---|
返回值
| Text | 更改描述及其分类 |
|---|---|
| 空字符串 | 索引超出已缓存的检查结果范围 |
备注
详情文本是面向日志和报告的诊断输出
无效索引返回空字符串,不更改 LastErrorCode
示例
for I:= 0 to PDF.GetModificationFindingCount- 1 do
Memo.Lines.Add(PDF.GetModificationFindingDetail(I));另请参阅
AnalyzeModifications, GetModificationFindingLevel, GetModificationFindingObjNum