Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


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 )   More


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"


Returns OK or error.


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

Created 25th November 2014, last changed 25th November 2014

DynaPDF.SetAnnotString   -   DynaPDF.SetBBox

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins