Publication Style Options
Defines styling options for customizing the appearance of the rendered publication.
Note that support for these options depends on the publication format. By default, they do not apply to fixed-layout formats (such as PDF and fixed-layout EPUB), with the exception of defaultFontFamily (see property documentation for details).
Some of these options can be enabled for fixed-layout EPUBs by configuring IEpubReaderPublicationOptions.fixedLayoutStyleOptions.
Constructors
Properties
The default font-family to use for documents that do not define a font-family. Defaults to 'serif'
Determines whether CSS animations and transitions should be disabled in the rendered publication.
NOTE: This interface is being simplified to be easier to use and will be released in an upcoming release.
Applies font-size scaling to the rendered publication. This is typically only supported on reflowable content documents and ignored otherwise.
Controls the spacing between letters.
Applies line-height scaling to the rendered publication. This is typically only supported on reflowable content documents and ignored otherwise.
Sets the individual page margins. This is typically only supported on reflowable content documents and ignored otherwise.
Allows you to override the palette used for rendering the publication.
When this option is enabled, the horizontal page margin and padding defined in the publication CSS are removed.
Allows overriding the text alignment used in the publication
Various options for removing publication defined style rules related to fonts and typography.
Controls the spacing between words.