Debenu Quick PDF logo

AddSWFAnnotationFromFile

Vector graphics, Image handling, Annotations and hotspot links, Page layout

Version history

This function was introduced in Quick PDF Library version 8.16.

Description

Adds a Flash SWF file as an annotation to the current page.

Availability

Windows/Delphi, Windows/ActiveX, Windows/DLL, Mac/Dylib, iOS, Android

Parameters

Left double The horizontal co-ordinate of the left edge of the annotation rectangle
Top double The vertical co-ordinate of the top edge of the annotation rectangle
Width double The width of the annotation rectangle
Height double The height of the annotation rectangle
FileName unistr The path and name of the SWF file
Title unistr The annotation title
Options int32 Annotation event to activate SWF:
0 = Page visible
1 = Mouse enter
2 = Mouse button click

Return type and values

0 int32 The specified file could not be found
1 int32 The SWF was successfully added as an annotation

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport