This class is used to render an OFD page to a bitmap. Please ensure fsdk.LibraryInitializeOFDEngine has been called successfully before using this class.
- See also
- fsdk.Library
◆ IsEmpty()
| def fsdk.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 fsdk.OFDRenderer.SetColorMode |
( |
|
color_mode | ) |
|
Set the color mode.
- Parameters
-
- Returns
- None.
◆ SetContentFlag()
| def fsdk.OFDRenderer.SetContentFlag |
( |
|
content_flag | ) |
|
Set the content flag.
- Parameters
-
- Returns
- None.
◆ StartRender()
| def fsdk.OFDRenderer.StartRender |
( |
|
page, |
|
|
|
matrix |
|
) |
| |
Start to render an OFD page.
This function is used to start to render an OFD page.
- Parameters
-
| [in] | page | An OFD page object. It should not be an empty object. |
| [in] | matrix | A matrix for rendering the page, which is usually returned by function fsdk.OFDPage.GetDisplayMatrix . |
- Returns
- A progressive object. Please check the rate of current progress by function fsdk.Progressive.GetRateOfProgress . If the rate is not 100 yet, call function fsdk.Progressive.Continue to continue the progress until the progress is finished.