Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
RichText.Attribute
Queries an attribute value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RichText | 3.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "RichText.Attribute"; AttributeSelector ) More
Parameters
Parameter | Description | Example |
---|---|---|
AttributeSelector | The name of the attribute to query. Can be Title, Company, Copyright, Subject, Author, Keywords, Comment, Editor, ModificationTime, Manager, Category or Type. | "title" |
Result
Returns attribute value or error.
Description
Queries an attribute value.Added selector PaperSize in v9.2 to return two values with width and height of paper size.
Examples
Get title:
$title = MBS( "RichText.Attribute"; "Title")
Get type of document:
$title = MBS( "RichText.Attribute"; "Type")
See also
Release notes
- Version 9.2
- Added PaperSize option to RichText.SetAttribute and RichText.Attribute functions.
Example Databases
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 3th May 2019