OtfFont Class |
Namespace: GroupDocs.Editor.HtmlCss.Resources.Fonts
The OtfFont type exposes the following members.
Name | Description | |
---|---|---|
![]() | OtfFont(String, Stream) |
Creates new OtfFont class from content, represented as byte stream, and with specified name
|
![]() | OtfFont(String, String) |
Creates new OtfFont class from content, represented as base64-encoded string, and with specified name
|
Name | Description | |
---|---|---|
![]() | ByteContent |
Returns content of this font as byte stream
(Inherited from FontResourceBase.) |
![]() | FilenameWithExtension |
Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name.
(Inherited from FontResourceBase.) |
![]() | IsDisposed |
Determines whether this font is disposed or not
(Inherited from FontResourceBase.) |
![]() | Name |
Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename.
(Inherited from FontResourceBase.) |
![]() | TextContent |
Returns content of this font as base64-encoded string. This value is cached after first invoke.
(Inherited from FontResourceBase.) |
![]() | Type |
Returns Otf (Overrides FontResourceBaseType.) |
Name | Description | |
---|---|---|
![]() | Dispose |
Disposes this font resource, disposing its content and making most methods and properties non-working
(Inherited from FontResourceBase.) |
![]() | Equals(FontResourceBase) |
Checks this instance with specified font resource on reference equality
(Inherited from FontResourceBase.) |
![]() | Equals(IHtmlResource) |
Checks this instance with specified HTML resource on reference equality
(Inherited from FontResourceBase.) |
![]() ![]() | IsValid(Stream) |
Checks whether specified stream is a valid OTF font
|
![]() ![]() | IsValid(String) |
Checks whether specified base64-encoded string is a valid OTF font
|
![]() | Save |
Saves this font to the specified file
(Inherited from FontResourceBase.) |
Name | Description | |
---|---|---|
![]() | Disposed |
Event, which occurs when this font is disposed
(Inherited from FontResourceBase.) |
Name | Description | |
---|---|---|
![]() ![]() | RequiredHeaderSize |
OTF header size (in bytes), which is required for its validation
|