|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetInnerRect () |
| Get the inner rectangle. More... | |
| def | SetInnerRect (inner_rect) |
| Set the inner rectangle. More... | |
A caret annotation (PDF 1.5) is a visual symbol that indicates the presence of text edits.
Caret annotation is a kind of markup annotation, so class Caret is derived from class Markup , and also offers functions to get/set caret annotation's properties and reset appearance stream of a caret annotation.
| def fsdk.Caret.GetInnerRect | ( | ) |
Get the inner rectangle.
This property has effect on caret annotation's appearance. For a caret annotation, inner rectangle means the actual boundaries of underlying caret. The inner rectangle could be just the same as or less than the annotation's rectangle, and should never be larger than annotation's rectangle.
| def fsdk.Caret.SetInnerRect | ( | inner_rect | ) |
Set the inner rectangle.
This property has effect on caret annotation's appearance. For a caret annotation, inner rectangle means the actual boundaries of underlying caret. The inner rectangle could be just the same as or less than the annotation's rectangle, and should never be larger than annotation's rectangle.
If user wants the new inner rectangle have effect on annotation's appearance, please call function fsdk.Annot.ResetAppearanceStream after setting the new inner rectangle.
| [in] | inner_rect | New inner rectangle to be set. It should be same as or less than annotation's rectangle. |