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
stringThe 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
TextTransformThe text transform CSS property
Returns
GetTypography(string)
Gets the typography by id
public static Typography? GetTypography(string typographyId)
Parameters
typographyId
stringThe typography id
Returns
Save(Typography)
Saves the typography
public static void Save(Typography typography)
Parameters
typography
TypographyThe typography