Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EpubTypography

OfficeIMO.Epub

Namespace
OfficeIMO.Epub
Assembly
OfficeIMO.Epub
Source revision
3b680b1b6fb1 with working tree changes
Modifiers
static

Creates CSS for the EPUB authoring and manuscript-import owners, without adding resources or invoking a renderer.

Inheritance

  • object
  • EpubTypography

Methods

public static string CreateStylesheet(EpubTypographyProfile profile = Basic) #

Returns a dependency-free CSS baseline. Profiles do not set body font family/size, text/background colors, fixed page widths, or important declarations. Prose/technical profiles use logical spacing for text direction. Apply before publisher CSS when publisher declarations should override this baseline.

Parameters

profile OfficeIMO.Epub.EpubTypographyProfile = Basic optional

Returns

string