Aspose::Pdf::Facades::PdfContentEditor::CreateJavaScriptLink method

Creates a link to JavaScript in PDF document.

void Aspose::Pdf::Facades::PdfContentEditor::CreateJavaScriptLink(const System::String &code, System::Drawing::Rectangle rect, int32_t originalPage, System::Drawing::Color color)
ParameterTypeDescription
codeconst System::String&The JavaScript code.
rectSystem::Drawing::RectangleThe rectangle for active click.
originalPageint32_tThe number of original page where rectangle bound with link will be created.
colorSystem::Drawing::ColorThe colour of rectangle for active click.

See Also