Annotation Pro API
|
A segment object. More...
Inherits IComparable< SegmentObject >.
Public Member Functions | |
SegmentObject () | |
Default constructor. More... | |
SegmentObject (float start, float duration, string label) | |
Constructor. More... | |
SegmentObject | Copy () |
Copies this object. More... | |
string | GetCSVRow (string fileName, int samplerate, string fieldSeparator) |
Gets CSV row. More... | |
bool | InRange (float rangeStart, float rangeEnd) |
Checking whether the segment is included within the given range. More... | |
Static Public Member Functions | |
static string | GetHeaderRow (string fieldSeparator) |
Gets header row. More... | |
Properties | |
Color | BackColor = Color.Black [get, set] |
Gets or sets the color of the back. More... | |
Color | BorderColor = Color.White [get, set] |
Gets or sets the color of the border. More... | |
Rectangle | ControlRectangle = string.Empty [get, set] |
Gets or sets the control rectangle. More... | |
float | Duration [get, set] |
Gets or sets the duration. More... | |
float | End [get, set] |
Gets or sets the end. More... | |
string | Feature = false [get, set] |
Gets or sets the feature. More... | |
Color | ForeColor = SnappingSide.None [get, set] |
Gets or sets the color of the foreground. More... | |
string | Group = new object() [get, set] |
Gets or sets the group. More... | |
bool | HasVideo = new Guid() [get] |
Gets true if segment has set video More... | |
Guid | Id [get, set] |
Gets or sets the identifier. More... | |
Guid | IdLayer = Guid.NewGuid() [get, set] |
Gets or sets the identifier layer. More... | |
Guid | IdVideoFile = 0 [get, set] |
Id of video file assigned to segment More... | |
bool | IsDragging = false [get, set] |
Gets or sets a value indicating whether this object is dragging. More... | |
bool | IsDraggingEnd = 0 [get, set] |
Gets or sets a value indicating whether this object is dragging end. More... | |
bool | IsDraggingStart [get, set] |
Gets or sets a value indicating whether this object is dragging start. More... | |
bool | IsMarker = string.Empty [get, set] |
Gets or sets a value indicating whether this object is marker. More... | |
bool | IsSelected = null [get, set] |
Gets or sets a value indicating whether this object is selected. More... | |
string | Label = new Guid() [get, set] |
Gets or sets the label. More... | |
string | Language = string.Empty [get, set] |
Gets or sets the language. More... | |
string | Marker = false [get, set] |
Gets or sets the marker. More... | |
string | Name = string.Empty [get, set] |
Gets or sets the name. More... | |
string | Parameter1 = string.Empty [get, set] |
Gets or sets the parameter 1. More... | |
string | Parameter2 = string.Empty [get, set] |
Gets or sets the parameter 2. More... | |
string | Parameter3 = string.Empty [get, set] |
Gets or sets the parameter 3. More... | |
string | RScript = string.Empty [get, set] |
Gets or sets the script. More... | |
float | Start [get, set] |
Gets or sets the start. More... | |
object | Tag = new Rectangle() [get, set] |
Gets or sets the tag. More... | |
A segment object.
|
inline |
Default constructor.
|
inline |
Constructor.
start | The start. |
duration | The duration. |
label | The label. |
|
inline |
Copies this object.
|
inline |
Gets CSV row.
fileName | Filename of the file. |
samplerate | The samplerate. |
fieldSeparator | The field separator. |
|
inlinestatic |
Gets header row.
fieldSeparator | The field separator. |
|
inline |
Checking whether the segment is included within the given range.
rangeStart | Range start |
rangeEnd | Range end |
|
getset |
Gets or sets the color of the back.
The color of the back.
|
getset |
Gets or sets the color of the border.
The color of the border.
|
getset |
Gets or sets the control rectangle.
The control rectangle.
|
getset |
Gets or sets the duration.
The duration.
|
getset |
Gets or sets the end.
The end.
|
getset |
Gets or sets the feature.
The feature.
|
getset |
Gets or sets the color of the foreground.
The color of the foreground.
|
getset |
Gets or sets the group.
The group.
|
get |
Gets true if segment has set video
|
getset |
Gets or sets the identifier.
The identifier.
|
getset |
Gets or sets the identifier layer.
The identifier layer.
|
getset |
Id of video file assigned to segment
|
getset |
Gets or sets a value indicating whether this object is dragging.
true if this object is dragging, false if not.
|
getset |
Gets or sets a value indicating whether this object is dragging end.
true if this object is dragging end, false if not.
|
getset |
Gets or sets a value indicating whether this object is dragging start.
true if this object is dragging start, false if not.
|
getset |
Gets or sets a value indicating whether this object is marker.
true if this object is marker, false if not.
|
getset |
Gets or sets a value indicating whether this object is selected.
true if this object is selected, false if not.
|
getset |
Gets or sets the label.
The label.
|
getset |
Gets or sets the language.
The language.
|
getset |
Gets or sets the marker.
The marker.
|
getset |
Gets or sets the name.
The name.
|
getset |
Gets or sets the parameter 1.
The parameter 1.
|
getset |
Gets or sets the parameter 2.
The parameter 2.
|
getset |
Gets or sets the parameter 3.
The parameter 3.
|
getset |
Gets or sets the script.
The r script.
|
getset |
Gets or sets the start.
The start.
|
getset |
Gets or sets the tag.
The tag.