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.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

RichText.SetAttribute

Sets metadata.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
RichText 3.5 Yes No Yes, macOS only No Yes

MBS( "RichText.SetAttribute"; Key; Value )

Parameters

Parameter Description Example value
Key The new attribute key. Can be Title, Company, Copyright, Subject, Author, Keywords, Comment, Editor, ModificationTime, Manager or Category. "Title"
Value The value of the attribute. Most are text parameters except for the timestamp of ModificationTime. "My title"

Result

Returns OK or error.

Description

Sets metadata.
See RichText.Attribute for details.

Examples

Set title:

MBS( "RichText.SetAttribute"; "Title"; "Hello World")

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014


RichText.ReplaceTexts   -   RichText.SetFormattedText

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos