|
| e_ColorModeMapping = _fsdk.OFDRenderer_e_ColorModeMapping |
| Map a color value to the color range defined by a background color and a foreground color.
|
|
| e_ColorModeMappingGray = _fsdk.OFDRenderer_e_ColorModeMappingGray |
| Map gray/white/black color value to background/foreground; for other colors, no change.
|
|
| e_ColorModeNormal = _fsdk.OFDRenderer_e_ColorModeNormal |
| Normal color mode.
|
|
| e_ContentFlagAllContent = _fsdk.OFDRenderer_e_ContentFlagAllContent |
| If set, all content will be rendered. This value should be used alone.
|
|
| e_ContentFlagAnnot = _fsdk.OFDRenderer_e_ContentFlagAnnot |
| If set, annotations will be rendered.(Excluding highlight annotation and stamp)
|
|
| e_ContentFlagHighLightAnnots = _fsdk.OFDRenderer_e_ContentFlagHighLightAnnots |
| If set, highlight annotations will be rendered.
|
|
| e_ContentFlagPage = _fsdk.OFDRenderer_e_ContentFlagPage |
| If set, page content will be rendered.
|
|
| e_ContentFlagStampAnnots = _fsdk.OFDRenderer_e_ContentFlagStampAnnots |
| If set, stamp annotations will be rendered.
|
|
This class is used to render an OFD page to a bitmap. Please ensure FoxitPDFSDKPython2.Library.InitializeOFDEngine has been called successfully before using this class.
- See also
- FoxitPDFSDKPython2.Library
◆ OFDRenderer()
def FoxitPDFSDKPython2.OFDRenderer.OFDRenderer |
( |
| ) |
|
Constructor.
Constructor, with another renderer object.
Constructor, with a bitmap object.
- Parameters
-
[in] | bitmap | A bitmap object. It should not be an empty bitmap. |
[in] | other | Another renderer object. |
◆ IsEmpty()
def FoxitPDFSDKPython2.OFDRenderer.IsEmpty |
( |
| ) |
|
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.
◆ SetColorMode()
def FoxitPDFSDKPython2.OFDRenderer.SetColorMode |
( |
|
color_mode | ) |
|
Set the color mode.
- Parameters
-
- Returns
- None.
◆ SetContentFlag()
def FoxitPDFSDKPython2.OFDRenderer.SetContentFlag |
( |
|
content_flag | ) |
|
Set the content flag.
- Parameters
-
- Returns
- None.
◆ StartRender()
def FoxitPDFSDKPython2.OFDRenderer.StartRender |
( |
|
page, |
|
|
|
matrix |
|
) |
| |