THPDFPage.AddPushButtonWithMovieAction Method

Adds push button with movie action data to the AcroForm workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

procedure AddPushButtonWithMovieAction(const FieldName, Caption: AnsiString; ButtonRect: TRect; MovieAnnot: THPDFDictionaryObject; Operation: THPDFMovieOperation= moPlay; Flags: THPDFFormFieldFlags= []);

Unit

HPDFDoc

Parameters

NamePurpose
FieldNameAcroForm field name or field dictionary targeted by the helper
CaptionHuman-readable text stored in the PDF object, action, annotation, or structure element
ButtonRectInput used by AddPushButtonWithMovieAction
MovieAnnotInput used by AddPushButtonWithMovieAction
OperationInput used by AddPushButtonWithMovieAction
FlagsInput used by AddPushButtonWithMovieAction

Return value

This member does not return a value

Usage notes

Related APIs