Table of Contents

Class TypographyHelper

Namespace
Dynamicweb.Content.Styles
Assembly
Dynamicweb.dll
public static class TypographyHelper
Inheritance
TypographyHelper
Inherited Members

Methods

Delete(string)

Deletes the typography by id

public static void Delete(string typographyId)

Parameters

typographyId string

The typography id

Exceptions

ArgumentNullException
InvalidOperationException

Thrown if the deleted typography is used

GetAllTypographies()

Get all typography styles

public static IEnumerable<Typography> GetAllTypographies()

Returns

IEnumerable<Typography>

A list of Typography

GetTextTransformationName(TextTransform)

Get text text transform CSS property name

public static string GetTextTransformationName(TextTransform textTransformation)

Parameters

textTransformation TextTransform

The text transform CSS property

Returns

string

GetTypography(string)

Gets the typography by id

public static Typography? GetTypography(string typographyId)

Parameters

typographyId string

The typography id

Returns

Typography

Save(Typography)

Saves the typography

public static void Save(Typography typography)

Parameters

typography Typography

The typography

To top