This class represents settings for summarizing annotation. This would be used in class FSDK.AnnotationSummary.
- See also
- FSDK.AnnotationSummary
◆ EnableOutputNoAnnotationPage()
| FSDK.AnnotationSummarySettings.EnableOutputNoAnnotationPage |
( |
|
enable | ) |
|
|
inline |
Set the flag to decide whether to output information of pages which have no annotation.
or a newly constructed object, if this function is not called, default value true will be used.
- Parameters
-
| [in] | enable | A boolean value to decide whether to output information of pages which have no annotation: true means to output information of pages which have no annotation, while false means not to output information of pages which have no annotation, |
- Returns
- None.
◆ IsEmpty()
| FSDK.AnnotationSummarySettings.IsEmpty |
( |
| ) |
|
|
inline |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
- Returns
- true means current object is empty, while false means not.
◆ SetAnnotThumbnail()
| FSDK.AnnotationSummarySettings.SetAnnotThumbnail |
( |
|
type, |
|
|
|
thumbnail |
|
) |
| |
|
inline |
Set the markup annotation thumbnail used in result document to indicates the type of annotation.
Thumbnail bitmap does not use alpha channel. So user is recommended to set a bitmap without alpha channel to be the new thumbnail. If a bitmap with alpha channel is set, the new thumbnail will use white background by default.
If not set, no thumbnail will be used for corresponding annotation type.
- Parameters
-
| [in] | type | Annotation type to decide whose thumbnail is to be set. Please refer to values starting from FSDK.Annot.e_Note and this should be one of these values except FSDK.Annot.e_Link, FSDK.Annot.e_PSInk, FSDK.Annot.e_Sound, FSDK.Annot.e_Movie, FSDK.Annot.e_Widget, FSDK.Annot.e_Screen, FSDK.Annot.e_PrinterMark, FSDK.Annot.e_TrapNet, FSDK.Annot.e_Watermark, FSDK.Annot.e_3D, FSDK.Annot.e_Popup, FSDK.Annot.e_Redact. |
| [in] | thumbnail | A bitmap used as thumbnail for an annotation type in result document. This should be a valid bitmap. If the bitmap size is not 12*12, the bitmap will be scaled to 12*12 when being used. |
- Returns
- None.
◆ SetAnnotType()
| FSDK.AnnotationSummarySettings.SetAnnotType |
( |
|
type, |
|
|
|
use_all |
|
) |
| |
|
inline |
Set the option to decide which type of annotations will be summarized.
For a newly constructed object, if this function is not called to set this option, that means to summarize annotation in all supported types.
- Parameters
-
| [in] | type | Annotation type to decide which annotations is to be summarized. Please refer to values starting from FSDK.Annot.e_Note and this should be one of these values except FSDK.Annot.e_Link, FSDK.Annot.e_PSInk, FSDK.Annot.e_Sound, FSDK.Annot.e_Movie, FSDK.Annot.e_Widget, FSDK.Annot.e_Screen, FSDK.Annot.e_PrinterMark, FSDK.Annot.e_TrapNet, FSDK.Annot.e_Watermark, FSDK.Annot.e_3D, FSDK.Annot.e_Popup, FSDK.Annot.e_Redact. |
| [in] | use_all | A boolean value to decide whether to summarize all the supported annotations in result document:
-
true means to summarize annotations in all the supported types. In this case, parameter type would be ignored.
-
false means to only summarize annotations specified by parameter type.
|
- Returns
- None.
◆ SetConnectorLineColor()
| FSDK.AnnotationSummarySettings.SetConnectorLineColor |
( |
|
color | ) |
|
|
inline |
◆ SetConnectorLineOpacity()
| FSDK.AnnotationSummarySettings.SetConnectorLineOpacity |
( |
|
opacity | ) |
|
|
inline |
◆ SetEndPage()
| FSDK.AnnotationSummarySettings.SetEndPage |
( |
|
page_index | ) |
|
|
inline |
Set ending page index.
For a newly constructed object, if this function is not called, default value (count-1) will be used as the ending page index. count is returned by function FSDK.PDFDoc.GetPageCount for the PDF document whose annotations are to be summarized.
- Parameters
-
| [in] | page_index | Page index to specify the ending page where summarizing operation ends. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount for the PDF document whose annotations are to be summarized. This index will be checked when function FSDK.AnnotationSummary.StartSummarize is called. |
- Returns
- None.
◆ SetFileTitle()
| FSDK.AnnotationSummarySettings.SetFileTitle |
( |
|
title | ) |
|
|
inline |
Set the file title string when location of the document needs to be outputed in result document.
If not set, an empty string will be used as default.
- Parameters
-
| [in] | title | Summary title used in result document. |
- Returns
- None.
◆ SetFontSize()
| FSDK.AnnotationSummarySettings.SetFontSize |
( |
|
type | ) |
|
|
inline |
Set the font size type used in result document of annotation summary.
For a newly constructed object, if this function is not called to set this option, that means to use FSDK.AnnotationSummarySettings.e_FontSizeMedium as the default value of this option.
- Parameters
-
- Returns
- None.
◆ SetPageMargin()
| FSDK.AnnotationSummarySettings.SetPageMargin |
( |
|
margin | ) |
|
|
inline |
Set the page margin used in result document.
This value does not represent a rectangle. It just defines the left margin, bottom margin, right margin and top margin of a PDF page. If no margin value is set, Foxit PDF SDK will use a maring defined as (50.0, 50.0, 50.0, 50.0) as default.
- Parameters
-
| [in] | margin | Page margin used in result document. |
- Returns
- None.
◆ SetPageRect()
| FSDK.AnnotationSummarySettings.SetPageRect |
( |
|
rect | ) |
|
|
inline |
Set the page rectangle in result document.
If not set, default rectangle (0.0, 0.0, 612.0, 792.0) will be used.
- Parameters
-
| [in] | rect | Page rectangle used in result document. |
- Returns
- None.
◆ SetSortType()
| FSDK.AnnotationSummarySettings.SetSortType |
( |
|
type | ) |
|
|
inline |
◆ SetStartPage()
| FSDK.AnnotationSummarySettings.SetStartPage |
( |
|
page_index | ) |
|
|
inline |
Set starting page index.
For a newly constructed object, if this function is not called, default value 0 will be used as the starting page index.
- Parameters
-
| [in] | page_index | Page index to specify the starting page where summarizing operation starts. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount for the PDF document whose annotations are to be summarized. This index will be checked when function FSDK.AnnotationSummary.StartSummarize is called. |
- Returns
- None.
◆ SetSummaryLayout()
| FSDK.AnnotationSummarySettings.SetSummaryLayout |
( |
|
type | ) |
|
|
inline |
◆ e_FontSizeSmall
| FSDK.AnnotationSummarySettings.e_FontSizeSmall |
|
static |
Enumeration for options used for font size type in result document.
Values of this enumeration can be used alone.If set, that means to use small font size in result document.
◆ e_SummaryLayoutSeparatePagesWithLine
| FSDK.AnnotationSummarySettings.e_SummaryLayoutSeparatePagesWithLine |
|
static |
Enumeration for options used for annotation summary layout.
Values of this enumeration can be used alone.If set, that means to layout document and annotations with connector lines on separate pages.
◆ e_TypeSortByAuthor
| FSDK.AnnotationSummarySettings.e_TypeSortByAuthor |
|
static |
Enumeration for options used for sorting annotation in result document.
Values of this enumeration can be used alone.If set, that means to sort annotation by author in result document.