fpdf_layer_w.h
Go to the documentation of this file.
1 
22 #ifndef _FSPDF_LAYER_W_H_
23 #define _FSPDF_LAYER_W_H_
24 
78 #ifdef __cplusplus
79 extern "C" {
80 #endif
81 
82 /*******************************************************************************/
83 /* Access PDF Layer Properties */
84 /*******************************************************************************/
85 
110 FS_RESULT FSPDF_Layer_SetName(FSPDF_LAYER layer, const FSCRT_BSTR* name);
111 
139 FS_RESULT FSPDF_Doc_SetLayersBaseState(FSCRT_DOCUMENT doc, FS_INT32 state);
140 
178 FS_RESULT FSPDF_Layer_SetApplicationUsage(FSPDF_LAYER layer, FS_INT32 usageType, FS_LPVOID param);
179 
208 FS_RESULT FSPDF_Layer_RemoveApplicationUsage(FSPDF_LAYER layer, FS_INT32 usageType);
209 
236 FS_RESULT FSPDF_Doc_AddLayer(FSCRT_DOCUMENT doc, FSCRT_BSTR* layerName, FSPDF_LAYER* layer);
237 
263 FS_RESULT FSPDF_Layer_Remove(FSPDF_LAYER layer, FS_DWORD options);
264 
287 FS_RESULT FSPDF_Layer_SetDefaultState(FSPDF_LAYER layer, FS_BOOL state);
288 
315 FS_RESULT FSPDF_Layer_AddPageObject(FSPDF_LAYER layer, FSCRT_PAGE page, FSPDF_PAGEOBJECT pageObj);
316 
340 FS_RESULT FSPDF_Layer_RemovePageObject(FSPDF_LAYER layer, FSPDF_PAGEOBJECT pageObj);
341 
342 #ifdef __cplusplus
343 };
344 #endif
345  /* group FPDLAYER */
347 
348 #endif /* _FSPDF_LAYER_W_H_ */
FS_RESULT FSPDF_Layer_SetDefaultState(FSPDF_LAYER layer, FS_BOOL state)
Set the default visible state of a PDF layer in the default configuration.
FS_RESULT FSPDF_Layer_RemovePageObject(FSPDF_LAYER layer, FSPDF_PAGEOBJECT pageObj)
Remove a page object from a PDF layer.
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
FS_RESULT FSPDF_Layer_Remove(FSPDF_LAYER layer, FS_DWORD options)
Remove a layer from the document.
FS_RESULT FSPDF_Doc_AddLayer(FSCRT_DOCUMENT doc, FSCRT_BSTR *layerName, FSPDF_LAYER *layer)
Add a layer to a PDF document.
FS_RESULT FSPDF_Layer_RemoveApplicationUsage(FSPDF_LAYER layer, FS_INT32 usageType)
Remove the application usage of a PDF layer. If some events is triggered, the visibility of PDF layer...
FS_RESULT FSPDF_Doc_SetLayersBaseState(FSCRT_DOCUMENT doc, FS_INT32 state)
Set the base visible state of PDF layers in the default configuration.
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
FS_RESULT FSPDF_Layer_AddPageObject(FSPDF_LAYER layer, FSCRT_PAGE page, FSPDF_PAGEOBJECT pageObj)
Add a page object to a PDF layer.
FS_RESULT FSPDF_Layer_SetApplicationUsage(FSPDF_LAYER layer, FS_INT32 usageType, FS_LPVOID param)
Set the application usage of a PDF layer. If some events is triggered, the visibility of PDF layer wi...
int FS_BOOL
Boolean type (This should be TRUE or FALSE).
Definition: fs_base_r.h:133
void * FS_LPVOID
A pointer to any types.
Definition: fs_base_r.h:127
Structure for byte string.
Definition: fs_base_r.h:611
FS_RESULT FSPDF_Layer_SetName(FSPDF_LAYER layer, const FSCRT_BSTR *name)
Set the name of a PDF layer.
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160

Foxit Corporation