|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetCol_space () |
| Get the column spacing for multiple lines of tiled watermark. More... | |
| def | GetFlags () |
| Get watermark flags. More... | |
| def | GetOpacity () |
| Get opacity in percents. More... | |
| def | GetRotation () |
| Get rotation angle in degrees. More... | |
| def | GetRow_space () |
| Get the row spacing for multiple lines of tiled watermark. More... | |
| def | GetScale () |
| Get the image or page scale in percents. More... | |
| def | Set (row_space, col_space, rotation, opacity, scale, flags) |
| Set value. More... | |
| def | SetCol_space (value) |
| Set the column spacing for multiple lines of tiled watermark. More... | |
| def | SetFlags (value) |
| Set watermark flags. More... | |
| def | SetOpacity (value) |
| Set opacity in percents. More... | |
| def | SetRotation (value) |
| Set rotation angle in degrees. More... | |
| def | SetRow_space (value) |
| Set the row spacing for multiple lines of tiled watermark. More... | |
| def | SetScale (value) |
| Set the image or page scale in percents. More... | |
This class represents the watermark settings used to construct a tiled watermark from any supported resource.
| fsdk.TiledWatermarkSettings.GetCol_space | ( | ) |
Get the column spacing for multiple lines of tiled watermark.
| fsdk.TiledWatermarkSettings.GetFlags | ( | ) |
Get watermark flags.
Please refer to values starting from fsdk.TiledWatermarkSettingsE_FlagAsPageContents and this can be one or a combination of these values.
Default value: fsdk.TiledWatermarkSettingsE_FlagAsPageContents .
| fsdk.TiledWatermarkSettings.GetOpacity | ( | ) |
Get opacity in percents.
| fsdk.TiledWatermarkSettings.GetRotation | ( | ) |
Get rotation angle in degrees.
| fsdk.TiledWatermarkSettings.GetRow_space | ( | ) |
Get the row spacing for multiple lines of tiled watermark.
| fsdk.TiledWatermarkSettings.GetScale | ( | ) |
Get the image or page scale in percents.
| def fsdk.TiledWatermarkSettings.Set | ( | row_space, | |
| col_space, | |||
| rotation, | |||
| opacity, | |||
| scale, | |||
| flags | |||
| ) |
Set value.
The parameter scale doesn't support text tiled watermark, and will have no effect after setting.
| [in] | row_space | The row spacing for multiple lines of tiled watermark. Its unit is inch and it can't be a negative number. |
| [in] | col_space | The column spacing for multiple lines of tiled watermark. Its unit is inch and it can't be a negative number. |
| [in] | rotation | Rotation angle in degrees. |
| [in] | opacity | Opacity in percents. Valid range: from 0 to 100. 0 for fully transparent and 100 for fully opaque. |
| [in] | scale | The image or page scale in percents. Valid range: from 0 to 100. 0 means not displayed, 100 means the image or page is displayed at its original scale size. |
| [in] | flags | Watermark flags. Please refer to values starting from fsdk.TiledWatermarkSettingsE_FlagAsPageContents and this can be one or a combination of these values. Default value: fsdk.TiledWatermarkSettingsE_FlagAsPageContents . |
| fsdk.TiledWatermarkSettings.SetCol_space | ( | value | ) |
Set the column spacing for multiple lines of tiled watermark.
| [in] | value | The column spacing for multiple lines of tiled watermark. Its unit is inch and it can't be a negative number. |
| fsdk.TiledWatermarkSettings.SetFlags | ( | value | ) |
Set watermark flags.
Please refer to values starting from fsdk.TiledWatermarkSettingsE_FlagAsPageContents and this can be one or a combination of these values.
Default value: fsdk.TiledWatermarkSettingsE_FlagAsPageContents .
| [in] | value | Watermark flags. |
| fsdk.TiledWatermarkSettings.SetOpacity | ( | value | ) |
Set opacity in percents.
| [in] | value | Opacity in percents. Valid range: from 0 to 100. 0 for fully transparent and 100 for fully opaque. |
| fsdk.TiledWatermarkSettings.SetRotation | ( | value | ) |
Set rotation angle in degrees.
| [in] | value | Rotation angle in degrees. |
| fsdk.TiledWatermarkSettings.SetRow_space | ( | value | ) |
Set the row spacing for multiple lines of tiled watermark.
| [in] | value | The row spacing for multiple lines of tiled watermark. Its unit is inch and it can't be a negative number. |
| fsdk.TiledWatermarkSettings.SetScale | ( | value | ) |
Set the image or page scale in percents.
| [in] | value | The image or page scale in percents. Valid range: from 0 to 100. 0 means not displayed, 100 means the image or page is displayed at its original size. The default value is 100. |