FontResourceBase Class
Base class for any supported font type as a resource for the HTML document with all its properties
Inheritance Hierarchy

Namespace: GroupDocs.Editor.HtmlCss.Resources.Fonts
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version:
public abstract class FontResourceBase : IHtmlResource, 

The FontResourceBase type exposes the following members.

Protected methodFontResourceBase
Initializes a new instance of the FontResourceBase class
Public propertyByteContent
Returns content of this font as byte stream
Public propertyFilenameWithExtension
Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name.
Public propertyIsDisposed
Determines whether this font is disposed or not
Public propertyName
Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename.
Public propertyTextContent
Returns content of this font as base64-encoded string. This value is cached after first invoke.
Public propertyType
In implementing type should return information about type of specific font resource as an instance of specific FontType type, which encapsulates all type-specific info
Public methodDispose
Disposes this font resource, disposing its content and making most methods and properties non-working
Public methodEquals(FontResourceBase)
Checks this instance with specified font resource on reference equality
Public methodEquals(IHtmlResource)
Checks this instance with specified HTML resource on reference equality
Public methodSave
Saves this font to the specified file
Public eventDisposed
Event, which occurs when this font is disposed
Protected field_base64TextContent
Content of the font in base64-encoded form, stored in the string
Protected field_binaryContent
Content of the font in the stream
Protected field_name
Name of the font resource, which serves as its unique identifier. Should not be changed (readonly) after creating an instance of the class.
Protected field_streamOrigPosition
Original position in the stream, which indicates the beginning of the font content
See Also