OtfFont Constructor (String, String)
Creates new OtfFont class from content, represented as base64-encoded string, and with specified name

Namespace: GroupDocs.Editor.HtmlCss.Resources.Fonts
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.10.0.0
Syntax
public OtfFont(
	string name,
	string contentInBase64
)

Parameters

name
Type: SystemString
Name of the OTF font. Cannot be null, empty or whitespaces.
contentInBase64
Type: SystemString
Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a OTF content, exception will be thrown.
Exceptions
ExceptionCondition
ArgumentException
InvalidImageFormatException
See Also