This class represents a picture tag.
Inheritance Hierarchy
Un4seen.Bass.AddOn.TagsTagPicture
Namespace: Un4seen.Bass.AddOn.Tags
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
The TagPicture type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TagPicture(String) |
Creates a picture tag as an external link to a file.
| |
TagPicture(TagPicture, Int32) |
Creates a resized, internal, Jpeg clone of a given picture tag.
| |
TagPicture(Image, TagPicturePICTURE_TYPE, String) |
Creates a picture tag from the given values.
| |
TagPicture(String, TagPicturePICTURE_TYPE, String) |
Creates a picture tag as an external link to a file.
| |
TagPicture(Int32, String, TagPicturePICTURE_TYPE, String, Byte) |
Creates a picture tag from the given values.
|
Properties
Name | Description | |
---|---|---|
PictureImage |
Returns the related image.
|
Methods
Name | Description | |
---|---|---|
GetMimeTypeFromFile |
Returns the MIMEType of a given file by evaluating the file extension.
| |
GetMimeTypeFromImage |
Returns the MIMEType of a given Image.
| |
LoadImageFromFile |
Creates an Image from the specified file (non locking).
| |
SaveImageToFile |
Saves an Image to a given location in a given format (non-locking).
| |
ToString |
Returns the description, picture type and MIMEType of the picture.
(Overrides ObjectToString.) |
Fields
Name | Description | |
---|---|---|
AttributeIndex |
The index or number of the related picture tag (-1 = undefined).
| |
Data |
The raw image data of the picture or the UTF-8 encoded location of the picture.
| |
Description |
The description of the picture.
| |
MIMEType |
The MIMEType of the picture.
| |
PictureStorage |
The storage type of the picture Data.
| |
PictureType |
The type of the picture - one of the TagPicturePICTURE_TYPE values.
|
See Also