Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.SetAnnotSubject

Sets or changes the optional subject string of an annotation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetAnnotSubject"; PDF; AnnotationHandle; Subject )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
Subject The subject to be set. "Hello World"

Result

Returns OK or error.

Description

Sets or changes the optional subject string of an annotation.
The subject is defined since PDF 1.5. The function adjusts the PDF version automatically if it is lower than PDF 1.5.
The annotation types FileLink, PageLink, PopUp and WebLink do not support a subject string. The function returns with an error when trying to set the subject on these annotation types.
If the parameter Value an empty string the subject string is deleted in the annotation.

See also SetAnnotSubject function in DynaPDF manual.

See also


DynaPDF.SetAnnotString   -   DynaPDF.SetBBox

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins