Class TypographyHelper
- Namespace
- Dynamicweb.Content.Styles
- Assembly
- Dynamicweb.dll
- Inheritance
-
Typography
Helper
- Inherited Members
Methods
Delete(string)
Deletes the typography by id
Parameters
typographyIdstringThe typography id
Exceptions
- Argument
Null Exception - Invalid
Operation Exception Thrown if the deleted typography is used
GetAllTypographies()
Get all typography styles
Returns
- IEnumerable<Typography>
A list of Typography
GetGoogleFontUrl(string, string?, FontWeight)
Get google font uri
Parameters
fontFamilystringFont family
fontStylestringFont style
fontWeightFontWeight Font weight
Returns
GetGoogleFontUrl(string, string?, int)
Get google font uri
Parameters
Returns
GetTextTransformationName(TextTransform)
Get text text transform CSS property name
Parameters
textTransformationTextTransform The text transform CSS property
Returns
GetTypography(string)
Gets the typography by id
Parameters
typographyIdstringThe typography id
Returns
Save(Typography)
Saves the typography
Parameters
typographyTypographyThe typography