Class TypographyHelper
- Namespace
- Dynamicweb.Content.Styles
- Assembly
- Dynamicweb.dll
- Inheritance
-
Typography
Helper
- Inherited Members
Methods
Delete(string)
Deletes the typography by id
Parameters
typographyId
stringThe 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
fontFamily
stringFont family
fontStyle
stringFont style
fontWeight
FontWeight Font weight
Returns
GetGoogleFontUrl(string, string?, int)
Get google font uri
Parameters
Returns
GetTextTransformationName(TextTransform)
Get text text transform CSS property name
Parameters
textTransformation
TextTransform The text transform CSS property
Returns
GetTypography(string)
Gets the typography by id
Parameters
typographyId
stringThe typography id
Returns
Save(Typography)
Saves the typography
Parameters
typography
TypographyThe typography