◆ FontSizeType
用于结果文档中字体大小类型选项的枚举。
此枚举的值可以单独使用。
| 枚举值 |
|---|
| e_FontSizeSmall | 如果设置,表示在结果文档中使用小字体。
|
| e_FontSizeMedium | 如果设置,表示在结果文档中使用中等字体。
|
| e_FontSizeLarge | 如果设置,表示在结果文档中使用大字体。
|
◆ SortType
用于结果文档中注释排序选项的枚举。
此枚举的值可以单独使用。
| 枚举值 |
|---|
| e_TypeSortByAuthor | 如果设置,表示在结果文档中按作者对注释进行排序。
|
| e_TypeSortByDate | 如果设置,表示在结果文档中按日期对注释进行排序。
|
| e_TypeSortByPage | 如果设置,表示在结果文档中按页面对注释进行排序。
|
| e_TypeSortByAnnotationType | 如果设置,表示在结果文档中按注释类型对注释进行排序。
|
◆ SummaryLayout
用于结果文档中注释摘要布局类型的枚举。
此枚举的值可以单独使用。
| 枚举值 |
|---|
| e_SummaryLayoutSeparatePagesWithLine | 如果设置,表示在结果文档中使用分页且带连接线的布局。注释内容会显示在注释原始位置的相对页面上。
|
| e_SummaryLayoutSinglePageWithLine | 如果设置,表示在结果文档中使用分页且不带连接线的布局。注释内容会显示在注释原始位置的相对页面上。
|
| e_SummaryLayoutAnnotationOnly | 如果设置,则表示仅布局注释。
|
| e_SummaryLayoutSeparatePagesWithSequenceNumber | 如果设置,这意味着在单独的页面上用序列号布局文档和注释。
|
| e_SummaryLayoutSinglePageWithSequenceNumber | 如果设置,这意味着在单独的页面上用序列号布局文档和注释。
|
◆ AnnotationSummarySettings()
◆ EnableOutputNoAnnotationPage()
| void foxit.pdf.AnnotationSummarySettings.EnableOutputNoAnnotationPage |
( |
bool |
enable | ) |
|
|
inline |
设置标志以决定是否输出没有注释的页面信息。
对于新构造的对象,如果不调用此函数,将使用默认值 true。
- 参数
-
| [in] | enable | 布尔值,用于决定是否输出没有注释的页面信息: true 表示输出没有注释的页面信息, 而 false 表示不输出没有注释的页面信息。 |
- 返回
- 无。
◆ IsEmpty()
| bool foxit.pdf.AnnotationSummarySettings.IsEmpty |
( |
| ) |
|
|
inline |
检查当前对象是否为空。
当当前对象为空时,表示当前对象无用。
- 返回
- true 表示当前对象为空,而 false 表示不为空。
◆ SetAnnotThumbnail()
| void foxit.pdf.AnnotationSummarySettings.SetAnnotThumbnail |
( |
Annot.Type |
type, |
|
|
Bitmap |
thumbnail |
|
) |
| |
|
inline |
设置结果文档中用于指示注释类型的标记注释缩略图。
缩略图位图不使用 alpha 通道。因此建议用户设置不带 alpha 通道的位图作为新缩略图。 如果设置了带 alpha 通道的位图,新缩略图将默认使用白色背景。
如果未设置,相应注释类型将不使用缩略图。
- 参数
-
| [in] | type | 注释类型,用于决定要设置其缩略图的类型。请参考从 foxit.pdf.annots.Annot.Type.e_Note 开始的值,这应该是这些值中的一个, 除了 foxit.pdf.annots.Annot.Type.e_Link , foxit.pdf.annots.Annot.Type.e_PSInk , foxit.pdf.annots.Annot.Type.e_Sound , foxit.pdf.annots.Annot.Type.e_Movie , foxit.pdf.annots.Annot.Type.e_Widget , foxit.pdf.annots.Annot.Type.e_Screen , foxit.pdf.annots.Annot.Type.e_PrinterMark , foxit.pdf.annots.Annot.Type.e_TrapNet , foxit.pdf.annots.Annot.Type.e_Watermark , foxit.pdf.annots.Annot.Type.e_3D , foxit.pdf.annots.Annot.Type.e_Popup , foxit.pdf.annots.Annot.Type.e_Redact 。 |
| [in] | thumbnail | 用作结果文档中注释类型缩略图的位图。 这应该是有效的位图。如果位图大小不是 12*12, 位图在使用时将被缩放到 12*12。 |
- 返回
- 无。
◆ SetAnnotType()
| void foxit.pdf.AnnotationSummarySettings.SetAnnotType |
( |
Annot.Type |
type, |
|
|
bool |
use_all |
|
) |
| |
|
inline |
设置决定哪种类型的注释将被摘要的选项。
对于新构造的对象,如果不调用此函数来设置此选项, 表示摘要所有支持类型的注释。
- 参数
-
| [in] | type | 注释类型,用于决定哪些注释将被摘要。 请参考从 foxit.pdf.annots.Annot.Type.e_Note 开始的值, 这应该是这些值中的一个,除了 foxit.pdf.annots.Annot.Type.e_Link , foxit.pdf.annots.Annot.Type.e_PSInk , foxit.pdf.annots.Annot.Type.e_Sound , foxit.pdf.annots.Annot.Type.e_Movie , foxit.pdf.annots.Annot.Type.e_Widget , foxit.pdf.annots.Annot.Type.e_Screen , foxit.pdf.annots.Annot.Type.e_PrinterMark , foxit.pdf.annots.Annot.Type.e_TrapNet , foxit.pdf.annots.Annot.Type.e_Watermark , foxit.pdf.annots.Annot.Type.e_3D , foxit.pdf.annots.Annot.Type.e_Popup , foxit.pdf.annots.Annot.Type.e_Redact 。 |
| [in] | use_all | 布尔值,用于决定是否在结果文档中摘要所有支持的注释:
|
- 返回
- 无。
◆ SetConnectorLineColor()
| void foxit.pdf.AnnotationSummarySettings.SetConnectorLineColor |
( |
int |
color | ) |
|
|
inline |
◆ SetConnectorLineOpacity()
| void foxit.pdf.AnnotationSummarySettings.SetConnectorLineOpacity |
( |
float |
opacity | ) |
|
|
inline |
◆ SetEndPage()
| void foxit.pdf.AnnotationSummarySettings.SetEndPage |
( |
int |
page_index | ) |
|
|
inline |
设置结束页面索引。
对于新构造的对象,如果不调用此函数,将使用默认值 (count-1) 作为结束页面索引。 count 是由函数 PDFDoc.GetPageCount 为要摘要其注释的 PDF 文档返回的。
- 参数
-
- 返回
- 无。
◆ SetFileTitle()
| void foxit.pdf.AnnotationSummarySettings.SetFileTitle |
( |
string |
title | ) |
|
|
inline |
设置当需要在结果文档中输出文档位置时的文件标题字符串。
如果未设置,将使用空字符串作为默认值。
- 参数
-
- 返回
- 无。
◆ SetFontSize()
◆ SetPageMargin()
| void foxit.pdf.AnnotationSummarySettings.SetPageMargin |
( |
RectF |
margin | ) |
|
|
inline |
设置结果文档中使用的页面边距。
此值不表示矩形。它只是定义 PDF 页面的左边距、下边距、 右边距和上边距。 如果未设置边距值,Foxit PDF SDK 将使用定义为 (50.0, 50.0, 50.0, 50.0) 的边距作为默认值。
- 参数
-
- 返回
- 无。
◆ SetPageRect()
| void foxit.pdf.AnnotationSummarySettings.SetPageRect |
( |
RectF |
rect | ) |
|
|
inline |
设置结果文档中的页面矩形。
如果未设置,将使用默认矩形 (0.0, 0.0, 612.0, 792.0)。
- 参数
-
- 返回
- 无。
◆ SetSortType()
◆ SetStartPage()
| void foxit.pdf.AnnotationSummarySettings.SetStartPage |
( |
int |
page_index | ) |
|
|
inline |
设置起始页面索引。
对于新构造的对象,如果不调用此函数,将使用默认值 0 作为起始页面索引。
- 参数
-
- 返回
- 无。
◆ SetSummaryLayout()