CFx SDK Documentation
2023 SP0
|
#include <PdfPublishLink.h>
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdPdfPublish::OdObject | |
OdObject (OdPublishObjectImpl *pImpl) | |
This class implements a link control contained in a .pdf document created with Teigha Publish.
Definition at line 44 of file PdfPublishLink.h.
OdPdfPublish::OdLink::OdLink | ( | ) |
Creates a link control.
|
virtual |
Destroys the link control.
void OdPdfPublish::OdLink::getBorderColor | ( | ODCOLORREF & | color | ) | const |
Returns the link control border color. The method fills a passed ODCOLORREF value and returns it to a calling subroutine.
color | [out] A placeholder for the border color value. |
Returns current border width of the link control. The method fills a passed value and returns it to a calling subroutine.
width | [out] A placeholder for the border width value (in points). |
void OdPdfPublish::OdLink::getHighlighting | ( | Highlighting::Mode & | mode | ) | const |
Returns current link highlighting mode. The method fills a passed value with current highlighting mode and returns it to a calling subroutine.
mode | [out] A placeholder for the highlighting mode value. |
Returns current JavaScript scenario for the link control. The method fills a passed string object with JavaScript scenario source code and returns it to a calling subroutine.
source | [out] A placeholder for the JavaScript scenario source code. |
OdPdfPublish::OdLink::ODRX_DECLARE_MEMBERS | ( | OdLink | ) |
OdPdfPublish::OdLink::ODRX_HEAP_OPERATORS | ( | ) |
void OdPdfPublish::OdLink::setBorderColor | ( | const ODCOLORREF | color | ) |
Sets the link control border color.
color | [in] A new value of the border color. |
Sets the border width of the link control. Border width is measured in points.
width | [in] A border width value (in points). |
void OdPdfPublish::OdLink::setHighlighting | ( | const Highlighting::Mode | mode | ) |
Sets the link highlighting mode.
mode | [in] A new highlighting mode for the link. |
Sets a JavaScript scenario for the link control.
source | [in] A string object that contains JavaScript scenario source code. |