Mp3Audio Class
Represents one audio resource of arbitrary format
Inheritance Hierarchy
SystemObject
  GroupDocs.Editor.HtmlCss.Resources.AudioMp3Audio

Namespace: GroupDocs.Editor.HtmlCss.Resources.Audio
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.10.0.0
Syntax
public sealed class Mp3Audio : IHtmlResource, 
	IAuxDisposable

The Mp3Audio type exposes the following members.

Constructors
  NameDescription
Public methodMp3Audio
Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name
Properties
  NameDescription
Public propertyByteContent
Returns content of this font as byte stream
Public propertyFilenameWithExtension
Returns correct filename of this MP3 content, which consists of name and extension. Theoretically can differ from the name.
Public propertyIsDisposed
Determines whether this MP3 content is disposed or not
Public propertyName
Returns name of this MP3 content. Usually doesn't contain filename extension and theoretically can differ from filename.
Public propertyTextContent
Returns content of this MP3 resource as base64-encoded string. This value is cached after first invoke.
Public propertyType
Returns a AudioType.Mp3
Methods
  NameDescription
Public methodDispose
Disposes this MP3 resource, disposing its content and making most methods and properties non-working
Public methodEquals(IHtmlResource)
Checks this instance with specified HTML resource on reference equality
Public methodEquals(Mp3Audio)
Checks this instance with specified font resource on reference equality
Public methodStatic memberIsValid
Checks whether specified stream is a valid MP3 content
Public methodSave
Saves this MP3 resource to the specified file
Events
  NameDescription
Public eventDisposed
Event, which occurs when this MP3 content is disposed
See Also