IPortionFormat class

IPortionFormat class

This class contains the text portion formatting properties. Unlike IPortionFormatEffectiveData, all properties of this class are writeable.

The IPortionFormat type exposes the following members:

Properties

PropertyDescription
bookmark_idReturns or sets bookmark identifier.
Read/write str.
smart_tag_cleanDetermines whether the smart tag should be cleaned. No inheritance applied.
Read/write bool.

Methods

MethodDescription
get_effectiveGets effective portion formatting data with the inheritance applied.

Remarks

This class is used to return and manipulate text portion formatting properties defined for the particular portion. This means that no inheritance is applied when getting values so for the majority of cases you will get values meaning “undefined”.

In order to get the effective formatting parameter values including inherited you need to use IPortionFormat.get_effective method which returns a IPortionFormatEffectiveData instance.

See Also