Publication Style Options
Allows you to set styling options of the rendered publication.
Note that support depends on the publication format. Fixed-layout formats such as PDF and fixed-layout EPUB will by default NOT be affected by these options, with the exception of defaultFontFamily
(see defaultFontFamily
documentation). Some of these options can be enabled for fixed-layout EPUBs by setting IEpubReaderPublicationOptions.fixedLayoutStyleOptions
.
Constructors
Properties
The default font-family to use for documents that has does not defined 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.
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.
Allows overriding the text alignment used in the publication