fpdf_annot_w.h
Go to the documentation of this file.
1 
50 #ifndef _FSPDF_ANNOT_W_H_
51 #define _FSPDF_ANNOT_W_H_
52 
88 #ifdef __cplusplus
89 extern "C" {
90 #endif
91 
92 /*******************************************************************************/
93 /* Add and remove annotation */
94 /*******************************************************************************/
149 FS_RESULT FSPDF_Annot_Add(FSCRT_PAGE page, const FSCRT_RECTF* rect, const FSCRT_BSTR* annotType, const FSCRT_BSTR* filter,
150  FS_INT32 index, FSCRT_ANNOT* annot);
151 
178 FS_RESULT FSPDF_Annot_Remove(FSCRT_ANNOT annot);
179 
180 /*******************************************************************************/
181 /* Annotation common properties */
182 /*******************************************************************************/
212 FS_RESULT FSPDF_Annot_Move(FSCRT_ANNOT annot, const FSCRT_RECTF* newRect);
213 
241 FS_RESULT FSPDF_Annot_SetFlags(FSCRT_ANNOT annot, FS_DWORD flags);
242 
272 FS_RESULT FSPDF_Annot_SetName(FSCRT_ANNOT annot, const FSCRT_BSTR* name);
273 
301 FS_RESULT FSPDF_Annot_SetSubject(FSCRT_ANNOT annot, const FSCRT_BSTR* subject);
302 
330 FS_RESULT FSPDF_Annot_SetTitle(FSCRT_ANNOT annot, const FSCRT_BSTR* title);
331 
362 FS_RESULT FSPDF_Annot_SetContents(FSCRT_ANNOT annot, const FSCRT_BSTR* contents);
363 
396 FS_RESULT FSPDF_Annot_SetIconName(FSCRT_ANNOT annot, const FSCRT_BSTR* iconName);
397 
426 FS_RESULT FSPDF_Annot_SetBorder(FSCRT_ANNOT annot, const FSPDF_ANNOTBORDER* border);
427 
462 FS_RESULT FSPDF_Annot_SetColor(FSCRT_ANNOT annot, FS_BOOL isFillColor, FS_ARGB color);
463 
492 FS_RESULT FSPDF_Annot_SetApplyFillColor(FSCRT_ANNOT annot, FS_ARGB color);
493 
520 FS_RESULT FSPDF_Annot_SetOpacity(FSCRT_ANNOT annot, FS_FLOAT opacity);
521 
553 FS_RESULT FSPDF_Annot_SetAlignment(FSCRT_ANNOT annot, FS_INT32 alignment);
554 
579 FS_RESULT FSPDF_Annot_SetCreationDateTime(FSCRT_ANNOT annot, const FSCRT_DATETIMEZONE* dt);
580 
607 FS_RESULT FSPDF_Annot_SetModifiedDateTime(FSCRT_ANNOT annot, const FSCRT_DATETIMEZONE* dt);
608 
644 FS_RESULT FSPDF_Annot_SetIntent(FSCRT_ANNOT annot, const FSCRT_BSTR* intent);
645 
678 FS_RESULT FSPDF_Annot_SetPopup(FSCRT_ANNOT annot, FSCRT_ANNOT popupAnnot);
679 
704 FS_RESULT FSPDF_Annot_SetOpenStatus(FSCRT_ANNOT annot, FS_BOOL status);
705 
740 FS_RESULT FSPDF_Annot_SetHighlightingMode(FSCRT_ANNOT annot, FS_INT32 hlMode);
741 
778 FS_RESULT FSPDF_Annot_SetQuadPoints(FSCRT_ANNOT annot, FSCRT_QUADPOINTSF* quadPoints, FS_INT32 count);
779 
819 
853 FS_RESULT FSPDF_Annot_SetInnerRectMargin(FSCRT_ANNOT annot, FS_FLOAT left, FS_FLOAT top, FS_FLOAT right, FS_FLOAT bottom);
854 
884 FS_RESULT FSPDF_Annot_SetLineEndingStyles(FSCRT_ANNOT annot, const FSCRT_BSTR* startingStyle, const FSCRT_BSTR* endingStyle);
885 
913 FS_RESULT FSPDF_Annot_SetLinePosition(FSCRT_ANNOT annot, FS_FLOAT x1, FS_FLOAT y1, FS_FLOAT x2, FS_FLOAT y2);
914 
943 FS_RESULT FSPDF_Annot_SetLeaderLineLength(FSCRT_ANNOT annot, FS_FLOAT length);
944 
969 FS_RESULT FSPDF_Annot_SetLeaderLineExtension(FSCRT_ANNOT annot, FS_FLOAT extLength);
970 
995 FS_RESULT FSPDF_Annot_SetLeaderLineOffset(FSCRT_ANNOT annot, FS_FLOAT offset);
996 
1021 FS_RESULT FSPDF_Annot_SetCaptionContents(FSCRT_ANNOT annot, FS_BOOL hasCap);
1022 
1056 FS_RESULT FSPDF_Annot_SetCaptionPosition(FSCRT_ANNOT annot, const FSCRT_BSTR* captionPos);
1057 
1087 FS_RESULT FSPDF_Annot_SetCaptionOffset(FSCRT_ANNOT annot, FS_FLOAT offsetx, FS_FLOAT offsety);
1088 
1116 FS_RESULT FSPDF_Annot_SetVertices(FSCRT_ANNOT annot, FS_FLOAT* vertices, FS_INT32 count);
1117 
1152 FS_RESULT FSPDF_Annot_SetSymbol(FSCRT_ANNOT annot, const FSCRT_BSTR* symbol);
1153 
1193 FS_RESULT FSPDF_Annot_SetInkList(FSCRT_ANNOT annot, FSCRT_PATHDATA pathData);
1194 
1221 FS_RESULT FSPDF_Annot_SetAttachment(FSCRT_ANNOT annot, FSPDF_ATTACHMENT attachment);
1222 
1248 FS_RESULT FSPDF_Annot_SetDefaultAppearance(FSCRT_ANNOT annot, const FSPDF_DEFAULTAPPEARANCE* defAppearance);
1249 
1279 FS_RESULT FSPDF_Annot_SetIconFit(FSCRT_ANNOT annot, const FSPDF_ANNOTICONFIT* iconFit);
1280 
1309 FS_RESULT FSPDF_Annot_RemoveMKEntry(FSCRT_ANNOT annot, FS_INT32 mkEntry);
1310 
1337 FS_RESULT FSPDF_Annot_SetMKRotation(FSCRT_ANNOT annot, FS_INT32 degree);
1338 
1370 FS_RESULT FSPDF_Annot_SetMKColor(FSCRT_ANNOT annot, FS_INT32 mkEntry, FS_ARGB color);
1371 
1406 FS_RESULT FSPDF_Annot_SetMKCaption(FSCRT_ANNOT annot, FS_INT32 mkEntry, const FSCRT_BSTR* caption);
1407 
1441 FS_RESULT FSPDF_Annot_SetMKIconBitmap(FSCRT_ANNOT annot, FS_INT32 mkEntry, FSCRT_BITMAP bitmap);
1442 
1479 FS_RESULT FSPDF_Annot_SetMKIconImage(FSCRT_ANNOT annot, FS_INT32 mkEntry, FSCRT_IMAGE image);
1480 
1481 #ifndef _FSPDF_DEF_ICONPROVIDER_
1482 #define _FSPDF_DEF_ICONPROVIDER_
1483 
1486 typedef struct _FSPDF_ICONPROVIDER
1487 {
1490 
1493 
1503  FS_RESULT (*Release)(FS_LPVOID clientData);
1504 
1518  FS_RESULT (*GetProviderID)(FS_LPVOID clientData, FSCRT_BSTR* str, FS_DWORD* ver);
1519 
1539  FS_RESULT (*HasIcon)(FS_LPVOID clientData, const FSCRT_BSTR* iconType, const FSCRT_BSTR* iconID, FS_BOOL* hasIcon);
1540 
1556  FS_RESULT (*CanChangeColor)(FS_LPVOID clientData, const FSCRT_BSTR* iconType, const FSCRT_BSTR* iconID, FS_BOOL* canChange);
1557 
1574  FS_RESULT (*GetIcon)(FS_LPVOID clientData, const FSCRT_BSTR* iconType, const FSCRT_BSTR* iconID, FS_ARGB color, FSCRT_PAGE* page);
1575 
1595  FS_RESULT (*SetShadingColor)(FS_LPVOID clientData, const FSCRT_BSTR* iconType, const FSCRT_BSTR* iconID, FS_ARGB refColor,
1596  FS_INT32 shadingIndex, FS_ARGB* c1, FS_ARGB* c2);
1597 
1614  FS_RESULT (*GetDisplaySize)(FS_LPVOID clientData, const FSCRT_BSTR* iconType, const FSCRT_BSTR* iconID, FS_FLOAT* width, FS_FLOAT* height);
1615 
1617 #endif //_FSPDF_DEF_ICONPROVIDER_
1618 
1646 
1681 FS_RESULT FSPDF_Annot_SetStamp(FSCRT_ANNOT annot, FSCRT_IMAGE image, FS_INT32 compress);
1682 
1710 FS_RESULT FSPDF_Annot_SetStampWithBitmap(FSCRT_ANNOT annot, FSCRT_BITMAP bitmap);
1711 
1712 /*******************************************************************************/
1713 /* Markup controls */
1714 /*******************************************************************************/
1747 FS_RESULT FSPDF_Annot_AddState(FSCRT_ANNOT annot, FS_INT32 stateModel, FS_INT32 state, FSCRT_ANNOT* stateAnnot);
1748 
1776 FS_RESULT FSPDF_Annot_SetState(FSCRT_ANNOT stateAnnot, FS_INT32 stateModel, FS_INT32 state);
1777 
1801 FS_RESULT FSPDF_Annot_RemoveAllStates(FSCRT_ANNOT annot);
1802 
1833 FS_RESULT FSPDF_Annot_SetGroup(FSCRT_ANNOT* annots, FS_INT32 count, FS_INT32 headerIndex);
1834 
1858 FS_RESULT FSPDF_Annot_Ungroup(FSCRT_ANNOT annot);
1859 
1891 FS_RESULT FSPDF_Annot_InsertReply(FSCRT_ANNOT annot, FS_INT32 index, FSCRT_ANNOT* replyAnnot);
1892 
1920 FS_RESULT FSPDF_Annot_RemoveReply(FSCRT_ANNOT annot, FS_INT32 index);
1921 
1946 FS_RESULT FSPDF_Annot_RemoveAllReplies(FSCRT_ANNOT annot);
1947 
1948 /*******************************************************************************/
1949 /* Annotation trigger actions */
1950 /*******************************************************************************/
1981 FS_RESULT FSPDF_Annot_SetAction(FSCRT_ANNOT annot, FS_INT32 trigger, FS_INT32 index, const FSPDF_ACTIONDATA* actionData);
1982 
2013 FS_RESULT FSPDF_Annot_InsertAction(FSCRT_ANNOT annot, FS_INT32 trigger, FS_INT32 index, const FSPDF_ACTIONDATA* actionData);
2014 
2044 FS_RESULT FSPDF_Annot_RemoveAction(FSCRT_ANNOT annot, FS_INT32 trigger, FS_INT32 index);
2045 
2074 FS_RESULT FSPDF_Annot_RemoveAllActions(FSCRT_ANNOT annot, FS_INT32 trigger);
2075 
2076 /*******************************************************************************/
2077 /* Reset annotation */
2078 /*******************************************************************************/
2112 FS_RESULT FSPDF_Annot_ResetAppearance(FSCRT_ANNOT annot);
2113 
2145 FS_RESULT FSPDF_Archive_SerializeAnnot(FSCRT_ARCHIVE archive, FSCRT_PAGE page, FSCRT_ANNOT annot);
2146 
2186 FS_RESULT FSPDF_Archive_DeserializeAnnot(FSCRT_ARCHIVE archive, FSCRT_PAGE page, FSCRT_ANNOT* annot);
2187 
2188 /*******************************************************************************/
2189 /* Annotation's move operation in annotation list */
2190 /*******************************************************************************/
2219 FS_RESULT FSPDF_Annot_MoveToFirst(FSCRT_ANNOT annot);
2220 
2249 FS_RESULT FSPDF_Annot_MoveToLast(FSCRT_ANNOT annot);
2250 
2279 FS_RESULT FSPDF_Annot_MoveToPrev(FSCRT_ANNOT annot);
2280 
2309 FS_RESULT FSPDF_Annot_MoveToNext(FSCRT_ANNOT annot);
2310 
2311 /*******************************************************************************/
2312 /* Redaction */
2313 /*******************************************************************************/
2357 FS_RESULT FSPDF_Redaction_Mark(FSCRT_DOCUMENT document, FSCRT_PAGE page, FSCRT_RECTF* rects, FS_INT32 nRect, FSCRT_ANNOT* redactAnnot);
2358 
2381 FS_RESULT FSPDF_Redaction_Apply(FSCRT_DOCUMENT document);
2382 
2383 #ifdef __cplusplus
2384 };
2385 #endif
2386  /* group FPDFANNOT */
2388 
2389 #endif /* _FSPDF_ANNOT_W_H_ */
2390 
FS_RESULT FSPDF_Annot_SetTitle(FSCRT_ANNOT annot, const FSCRT_BSTR *title)
Set title of a markup annotation.
FS_RESULT FSPDF_Annot_RemoveReply(FSCRT_ANNOT annot, FS_INT32 index)
Remove a reply with specified index to a markup annotation.
Structure for annotation border.
Definition: fpdf_annot_r.h:854
FS_RESULT FSPDF_Annot_AddState(FSCRT_ANNOT annot, FS_INT32 stateModel, FS_INT32 state, FSCRT_ANNOT *stateAnnot)
Add a specific state to a markup annotation.
FS_RESULT FSPDF_Annot_SetState(FSCRT_ANNOT stateAnnot, FS_INT32 stateModel, FS_INT32 state)
Set state model and state out of a state annotation.
FS_RESULT FSPDF_Annot_SetContents(FSCRT_ANNOT annot, const FSCRT_BSTR *contents)
Set contents of an annotation.
FS_RESULT FSPDF_Annot_SetColor(FSCRT_ANNOT annot, FS_BOOL isFillColor, FS_ARGB color)
Set filling or bordering color of an annotation.
Structure for rectangle, in float.
Definition: fs_base_r.h:2080
FS_RESULT FSPDF_Annot_InsertReply(FSCRT_ANNOT annot, FS_INT32 index, FSCRT_ANNOT *replyAnnot)
Insert a new empty reply with a specified index to a markup annotation.
float FS_FLOAT
32-bit floating-point number, single precision.
Definition: fs_base_r.h:148
FS_RESULT FSPDF_Annot_SetModifiedDateTime(FSCRT_ANNOT annot, const FSCRT_DATETIMEZONE *dt)
Set modification time of an annotation.
FS_RESULT FSPDF_Annot_SetLinePosition(FSCRT_ANNOT annot, FS_FLOAT x1, FS_FLOAT y1, FS_FLOAT x2, FS_FLOAT y2)
Set line position of a line annotation.
FS_RESULT FSPDF_Annot_Ungroup(FSCRT_ANNOT annot)
Ungroup an annotation from the group it belongs to.
FS_RESULT FSPDF_Annot_SetGroup(FSCRT_ANNOT *annots, FS_INT32 count, FS_INT32 headerIndex)
Group all the input annotations.
FS_RESULT FSPDF_Annot_SetMKIconImage(FSCRT_ANNOT annot, FS_INT32 mkEntry, FSCRT_IMAGE image)
Set an image to a specific icon entry in MK dictionary.
FS_RESULT FSPDF_Annot_RemoveAllActions(FSCRT_ANNOT annot, FS_INT32 trigger)
Remove all the actions associated with an annotation.
FS_RESULT FSPDF_Annot_SetSubject(FSCRT_ANNOT annot, const FSCRT_BSTR *subject)
Set subject of a markup annotation.
FS_RESULT FSPDF_Annot_SetMKCaption(FSCRT_ANNOT annot, FS_INT32 mkEntry, const FSCRT_BSTR *caption)
Set caption of a specific type in MK dictionary.
FS_RESULT FSPDF_Annot_SetOpacity(FSCRT_ANNOT annot, FS_FLOAT opacity)
Set opacity of an annotation.
FS_RESULT FSPDF_Annot_SetAttachment(FSCRT_ANNOT annot, FSPDF_ATTACHMENT attachment)
Set attachment of a file attachment annotation.
FS_RESULT FSPDF_Annot_SetIconName(FSCRT_ANNOT annot, const FSCRT_BSTR *iconName)
Set icon name of an annotation.
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
FS_LPVOID clientData
A user pointer, used by the application.
Definition: fpdf_annot_w.h:1492
FS_RESULT FSPDF_Annot_SetApplyFillColor(FSCRT_ANNOT annot, FS_ARGB color)
Set filling color of a redact annotation after applying and it is also used as its rollover appearanc...
FS_RESULT FSPDF_Annot_SetCaptionContents(FSCRT_ANNOT annot, FS_BOOL hasCap)
Set flag which decides whether to set a caption to the annotation or not.
FS_RESULT FSPDF_Annot_RemoveMKEntry(FSCRT_ANNOT annot, FS_INT32 mkEntry)
Remove a specified entry in MK dictionary.
FS_RESULT FSPDF_Annot_SetFlags(FSCRT_ANNOT annot, FS_DWORD flags)
Set flags of an annotation.
FS_RESULT FSPDF_Annot_SetStampWithBitmap(FSCRT_ANNOT annot, FSCRT_BITMAP bitmap)
Set bitmap to stamp annotation.
FS_RESULT FSPDF_Annot_SetQuadPoints(FSCRT_ANNOT annot, FSCRT_QUADPOINTSF *quadPoints, FS_INT32 count)
Set quadrilaterals points of an annotation.
FS_RESULT FSPDF_Annot_SetCreationDateTime(FSCRT_ANNOT annot, const FSCRT_DATETIMEZONE *dt)
Set creation time of a markup annotation.
FS_RESULT FSPDF_Annot_Remove(FSCRT_ANNOT annot)
Remove an annotation from page.
FS_RESULT FSPDF_Annot_SetStamp(FSCRT_ANNOT annot, FSCRT_IMAGE image, FS_INT32 compress)
Set image to stamp annotation.
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
FS_RESULT FSPDF_Annot_RemoveAllStates(FSCRT_ANNOT annot)
Remove all the state annotations associated with an annotation.
Structure for date and time.
Definition: fs_base_r.h:2020
FS_RESULT FSPDF_Annot_SetIntent(FSCRT_ANNOT annot, const FSCRT_BSTR *intent)
Set intent of a markup annotation.
FS_RESULT FSPDF_Annot_RemoveAction(FSCRT_ANNOT annot, FS_INT32 trigger, FS_INT32 index)
Remove an action of specified index associated with an annotation.
FS_RESULT FSPDF_Annot_SetSymbol(FSCRT_ANNOT annot, const FSCRT_BSTR *symbol)
Set symbol of a caret annotation.
FS_RESULT FSPDF_Archive_DeserializeAnnot(FSCRT_ARCHIVE archive, FSCRT_PAGE page, FSCRT_ANNOT *annot)
De-serialize the annotation.
FS_RESULT FSPDF_Annot_SetName(FSCRT_ANNOT annot, const FSCRT_BSTR *name)
Set name of an annotation.
FS_RESULT FSPDF_Redaction_Mark(FSCRT_DOCUMENT document, FSCRT_PAGE page, FSCRT_RECTF *rects, FS_INT32 nRect, FSCRT_ANNOT *redactAnnot)
Mark page contents (text object, image object, and path object) which are to be redacted,.
Structure for default appearance.
Definition: fpdf_base_r.h:278
FS_RESULT FSPDF_Annot_SetLeaderLineLength(FSCRT_ANNOT annot, FS_FLOAT length)
Set leader line length of a line annotation.
FS_RESULT FSPDF_Annot_SetLineEndingStyles(FSCRT_ANNOT annot, const FSCRT_BSTR *startingStyle, const FSCRT_BSTR *endingStyle)
Set line ending styles of an annotation.
FS_RESULT FSPDF_Annot_SetDefaultAppearance(FSCRT_ANNOT annot, const FSPDF_DEFAULTAPPEARANCE *defAppearance)
Set default appearance of a free text annotation, which can be used in formatting the text...
Structure for annotation icon fit.
Definition: fpdf_annot_r.h:787
Structure for an action data.
Definition: fpdf_base_r.h:841
FS_RESULT FSPDF_Annot_SetOpenStatus(FSCRT_ANNOT annot, FS_BOOL status)
Set open status of a text or pop-up annotation.
FS_RESULT FSPDF_Annot_SetIconFit(FSCRT_ANNOT annot, const FSPDF_ANNOTICONFIT *iconFit)
Set icon fit of a widget annotation.
FS_RESULT FSPDF_Annot_Add(FSCRT_PAGE page, const FSCRT_RECTF *rect, const FSCRT_BSTR *annotType, const FSCRT_BSTR *filter, FS_INT32 index, FSCRT_ANNOT *annot)
Add an annotation with a specific index, by specific filter.
FS_RESULT FSPDF_Annot_Move(FSCRT_ANNOT annot, const FSCRT_RECTF *newRect)
Move an annotation to a new position specified by a rectangle.
Structure for the provider of alternate icons.
Definition: fpdf_annot_w.h:1486
int FS_BOOL
Boolean type (This should be TRUE or FALSE).
Definition: fs_base_r.h:133
FS_RESULT FSPDF_Annot_SetAction(FSCRT_ANNOT annot, FS_INT32 trigger, FS_INT32 index, const FSPDF_ACTIONDATA *actionData)
Set action data of specified index associated with an annotation.
FS_RESULT FSPDF_Annot_SetInkList(FSCRT_ANNOT annot, FSCRT_PATHDATA pathData)
Set ink list data of an ink annotation.
FS_RESULT FSPDF_Annot_RemoveAllReplies(FSCRT_ANNOT annot)
Remove all the replies of a markup annotation.
FS_RESULT FSPDF_Annot_SetInnerRectMargin(FSCRT_ANNOT annot, FS_FLOAT left, FS_FLOAT top, FS_FLOAT right, FS_FLOAT bottom)
Set the margin between inner rectangle and rectangle of an annotation.
FS_RESULT FSPDF_Annot_MoveToNext(FSCRT_ANNOT annot)
Exchange the indexes of current annotation and its next annotation.
void * FS_LPVOID
A pointer to any types.
Definition: fs_base_r.h:127
FS_RESULT FSPDF_Annot_SetLeaderLineExtension(FSCRT_ANNOT annot, FS_FLOAT extLength)
Set leader line extension of a line annotation.
FS_RESULT FSPDF_Annot_SetHighlightingMode(FSCRT_ANNOT annot, FS_INT32 hlMode)
Set highlighting mode of a link or widget annotation.
FS_RESULT FSPDF_Archive_SerializeAnnot(FSCRT_ARCHIVE archive, FSCRT_PAGE page, FSCRT_ANNOT annot)
Serialize the annotation.
unsigned int FS_ARGB
ARGB color type, 32 bits, ((b) | ((g) << 8) | ((r) << 16)) | ((a) << 24)
Definition: fs_base_r.h:145
FS_RESULT FSPDF_Annot_SetMKColor(FSCRT_ANNOT annot, FS_INT32 mkEntry, FS_ARGB color)
Set color of specific type in MK dictionary.
Structure for byte string.
Definition: fs_base_r.h:613
FS_RESULT FSPDF_Annot_SetCaptionPosition(FSCRT_ANNOT annot, const FSCRT_BSTR *captionPos)
Set caption position of a line annotation.
FS_RESULT FSPDF_Annot_MoveToLast(FSCRT_ANNOT annot)
Change specified annotation to be the last one of all annotations.
FS_RESULT FSPDF_Annot_SetCalloutLinePoints(FSCRT_ANNOT annot, FS_FLOAT x1, FS_FLOAT y1, FS_FLOAT x2, FS_FLOAT y2, FS_FLOAT x3, FS_FLOAT y3)
Set callout line points of a free text annotation.
FS_RESULT FSPDF_Annot_ResetAppearance(FSCRT_ANNOT annot)
Reset(regenerate) appearance of an annotation.
FS_RESULT FSPDF_Annot_MoveToFirst(FSCRT_ANNOT annot)
Change specified annotation to be the first one of all annotations.
FS_RESULT FSPDF_Annot_InsertAction(FSCRT_ANNOT annot, FS_INT32 trigger, FS_INT32 index, const FSPDF_ACTIONDATA *actionData)
Insert an action of specified index associated with an annotation.
FS_RESULT FSPDF_Annot_SetMKIconBitmap(FSCRT_ANNOT annot, FS_INT32 mkEntry, FSCRT_BITMAP bitmap)
Set a bitmap to a specific icon entry in MK dictionary.
FS_RESULT FSPDF_Annot_MoveToPrev(FSCRT_ANNOT annot)
Exchange the indexes of current annotation and its previous annotation.
FS_RESULT FSPDF_Annot_SetLeaderLineOffset(FSCRT_ANNOT annot, FS_FLOAT offset)
Set leader line offset of a line annotation.
FS_RESULT FSPDF_Annot_SetIconProvider(FSPDF_ICONPROVIDER *iconProvider)
Set icon provider to SDK management.
FS_RESULT FSPDF_Annot_SetVertices(FSCRT_ANNOT annot, FS_FLOAT *vertices, FS_INT32 count)
Set vertices of a polygon or polyline annotation.
FS_RESULT FSPDF_Annot_SetCaptionOffset(FSCRT_ANNOT annot, FS_FLOAT offsetx, FS_FLOAT offsety)
Set caption offset of a line annotation.
FS_DWORD lStructSize
The size of the data structure. It must be set to sizeof(FSPDF_ICONPROVIDER).
Definition: fpdf_annot_w.h:1489
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160
FS_RESULT FSPDF_Annot_SetPopup(FSCRT_ANNOT annot, FSCRT_ANNOT popupAnnot)
Set a pop-up annotation to a specific markup annotation.
FS_RESULT FSPDF_Redaction_Apply(FSCRT_DOCUMENT document)
Apply redaction in marked areas: remove the text or graphics under marked areas permanently.
FS_RESULT FSPDF_Annot_SetMKRotation(FSCRT_ANNOT annot, FS_INT32 degree)
Set rotation in MK dictionary.
FS_RESULT FSPDF_Annot_SetAlignment(FSCRT_ANNOT annot, FS_INT32 alignment)
Set alignment of a free text annotation.
Structure for quad points, in float.
Definition: fs_base_r.h:2102
FS_RESULT FSPDF_Annot_SetBorder(FSCRT_ANNOT annot, const FSPDF_ANNOTBORDER *border)
Set border of an annotation.

Foxit Corporation