Annotation Pro API
|
Annotation layers More...
Inherits Control.
Public Member Functions | |
void | AddNewLayer (LayerObject layer) |
Adds a new layer More... | |
LayerObject | AddNewLayer () |
Adds a new layer More... | |
LayerObject | AddNewLayer (CoordinateControlStyle coordinateControlStyle) |
Adds a new layer More... | |
SegmentObject | AddNewOrUpdateSegment (string value) |
Adds a new or update segment More... | |
SegmentObject | AddNewOrUpdateSegment (string value, CoordinateControlStyle style) |
Adds a new or update segment More... | |
SegmentObject | AddNewSegment () |
Adds new segment More... | |
SegmentObject | AddNewSegment (CoordinateControlStyle style) |
Adds new segment More... | |
void | AutoAlign () |
Automaticaly align segments on selected layers More... | |
void | AutoResizeSegment (SegmentObject segment) |
Automatic resize segment More... | |
void | AutoResizeSegments () |
Automatic resize segments More... | |
void | ConsolidateSegments () |
Consolidate segments More... | |
bool | ConsolidateSegments (SegmentObject leftSegment, SegmentObject rightSegment, LayerObject layer) |
Consolidate segments More... | |
void | Crop (float start, float end) |
Crops annotation to start and end position More... | |
void | Delete () |
Deletes all selected segments or layers More... | |
LayerObject | DuplicateLayer () |
Duplicates layer and returns new created More... | |
LayerObject | DuplicateLayer (LayerObject layer) |
Duplicates layer using given layer More... | |
void | FillGaps (string gapLabel, bool onlySelectedSegments) |
Fills gaps in annotation More... | |
double | GetSegmentRateGross () |
Calculates gross segment rate for selected Layer If any segments are selected rate will be calculated for them If no segments are selected rate will be calculated for all More... | |
double | GetSegmentRateGross (LayerObject layer) |
Calculates gross segment rate for layer given in parameter If any segments are selected rate will be calculated for them If no segments are selected rate will be calculated for all More... | |
double | GetSegmentRateGross (SegmentCollection segments, bool onlySelected) |
Calculates gross rate for segment collection More... | |
double | GetSegmentRateNetto () |
Calculates netto segment rate for selected layer More... | |
double | GetSegmentRateNetto (LayerObject layer) |
Calculates netto segment rate for layer given in parameter If any segments are selected rate will be calculated for them If no segments are selected rate will be calculated for all More... | |
double | GetSegmentRateNetto (SegmentCollection segments, bool onlySelected) |
Calculates netto rate for segment collection More... | |
string | GetSegmentsStatus () |
Gets total segments count and selected count as string More... | |
void | Segmentate (SegmentationModuleObject segmentationModule, bool onlySelectedSegments, SegmentationMode segmentationMode, ProgressBar progressBar, CancellationToken token) |
Segmentates annotation with given module and setup More... | |
bool | SegmentateSegment (SegmentationModuleObject segmentationModule, SegmentObject segment, LayerObject destinationLayer, SegmentationMode segmentationMode) |
Segmentates segment with segmentation module More... | |
void | SelectAllSegmentsOnLayer () |
Selects all segments on layer More... | |
void | SelectNearestVisibleSegment (float position, LayerObject layer) |
Select nearest visible segment on given layer in position. More... | |
void | ShowSelectedSegments () |
Shows the selected segments More... | |
void | ShowSelectedSegments (bool onWaveform, bool zoom, bool showAllSegments) |
Shows the selected segments More... | |
void | SpaceSegmentsEqually () |
Space all or selected segment equally on selected layer More... | |
void | SplitSegment () |
Splits a segment More... | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Properties | |
Color | BackgroundColor [get, set] |
Gets or sets the color of the background More... | |
float | CursorPosition = Color.DarkGray [get, set] |
Gets or sets the cursor position. More... | |
float | EndViewPosition [get] |
Gets the end view position More... | |
bool | HighQuality [get, set] |
Gets or set if high quality drawing mode is enabled More... | |
int | LayersHeight [get] |
Gets the height of the layers More... | |
List< string > | RateExceptionList [get, set] |
Gets or sets a list of rate exceptions More... | |
Color | RullerBackColor [get, set] |
Gets or sets the color of the ruller back More... | |
Color | RullerBackColorInactive = Color.DarkGray [get, set] |
Gets or sets the ruller back color inactive More... | |
Color | RullerForeColor [get, set] |
Gets or sets the color of the ruller foreground More... | |
LayerObject | SelectedLayer [get] |
Gets the selected layer More... | |
LayerCollection | SelectedLayers [get] |
Gets the selected layers More... | |
SegmentObject | SelectedSegment = new List<string>() [get] |
Gets the selected segment More... | |
SegmentCollection | SelectedSegments [get] |
Gets the selected segments More... | |
int | SnapBorderDistance = 10 [get, set] |
Gets or sets the snap border distance More... | |
int | SnapDistance [get, set] |
Gets or sets the snap distance More... | |
float | StartViewPosition [get, set] |
Gets or sets the start view position More... | |
Synchronizer | Synchronizer [get, set] |
Gets or sets the synchronizer More... | |
int | VerticalOffset [get, set] |
Gets or sets the vertical offset More... | |
LayerCollection | VisibleLayers [get] |
Gets the visible layers More... | |
float | ZoomFactorX [get, set] |
Gets or sets the zoom factor x coordinate More... | |
Events | |
ChangedHandler | LayersHeightChanged |
Event queue for all listeners interested in LayersHeightChanged events More... | |
SegmentModifiedHandler | SegmentModified |
Event fired after segment modified More... | |
Annotation layers
|
inline |
Adds a new layer
layer | The layer. |
|
inline |
Adds a new layer
|
inline |
Adds a new layer
coordinateControlStyle | The coordinate control style. |
|
inline |
Adds a new or update segment
value | The value. |
|
inline |
Adds a new or update segment
value | The value. |
style | The style. |
|
inline |
Adds new segment
|
inline |
Adds new segment
style | The style. |
|
inline |
Automaticaly align segments on selected layers
|
inline |
Automatic resize segment
segment | The segment. |
|
inline |
Automatic resize segments
|
inline |
Consolidate segments
|
inline |
Consolidate segments
leftSegment | The left segment. |
rightSegment | The right segment. |
layer | The layer. |
|
inline |
Crops annotation to start and end position
start | cropping start position |
end | cropping end position |
|
inline |
Deletes all selected segments or layers
|
inlineprotected |
Clean up any resources being used.
disposing | true if managed resources should be disposed; otherwise, false. |
|
inline |
Duplicates layer and returns new created
|
inline |
Duplicates layer using given layer
layer | The layer. |
|
inline |
Fills gaps in annotation
gapLabel | The gap label. |
onlySelectedSegments | true to only selected segments. |
|
inline |
Calculates gross segment rate for selected Layer If any segments are selected rate will be calculated for them If no segments are selected rate will be calculated for all
|
inline |
Calculates gross segment rate for layer given in parameter If any segments are selected rate will be calculated for them If no segments are selected rate will be calculated for all
layer | Layer to calculate rate |
|
inline |
Calculates gross rate for segment collection
segments | Segments collection to calculate rate |
onlySelected | if true only selected segment will be included |
|
inline |
Calculates netto segment rate for selected layer
|
inline |
Calculates netto segment rate for layer given in parameter If any segments are selected rate will be calculated for them If no segments are selected rate will be calculated for all
layer | Layer to calculate rate |
|
inline |
Calculates netto rate for segment collection
segments | Segments collection to calculate rate |
onlySelected | if true only selected segment will be included |
|
inline |
Gets total segments count and selected count as string
|
inline |
Segmentates annotation with given module and setup
segmentationModule | The segmentation module. |
onlySelectedSegments | true to only selected segments. |
segmentationMode | The segmentation mode. |
progressBar | Progress bar reference |
token | Token for cancellation of segmentation |
|
inline |
Segmentates segment with segmentation module
segmentationModule | The segmentation module. |
segment | The segment. |
destinationLayer | Destination layer. |
segmentationMode | The segmentation mode. |
|
inline |
Selects all segments on layer
|
inline |
Select nearest visible segment on given layer in position.
position | Initial position |
layer | Search segments only on given layer |
|
inline |
Shows the selected segments
|
inline |
Shows the selected segments
onWaveform | true to on waveform. |
zoom | true to zoom. |
showAllSegments | true to show, false to hide all segments. |
|
inline |
Space all or selected segment equally on selected layer
|
inline |
Splits a segment
|
getset |
Gets or sets the color of the background
The color of the background.
|
getset |
Gets or sets the cursor position.
The cursor position.
|
get |
Gets the end view position
The end view position.
|
getset |
Gets or set if high quality drawing mode is enabled
High Quality mode state.
|
get |
Gets the height of the layers
The height of the layers.
|
getset |
Gets or sets a list of rate exceptions
A List of rate exceptions.
|
getset |
Gets or sets the color of the ruller back
The color of the ruller back.
|
getset |
Gets or sets the ruller back color inactive
The ruller back color inactive.
|
getset |
Gets or sets the color of the ruller foreground
The color of the ruller foreground.
|
get |
Gets the selected layer
The selected layer.
|
get |
Gets the selected layers
The selected layers.
|
get |
Gets the selected segment
The selected segment.
|
get |
Gets the selected segments
The selected segments.
|
getset |
Gets or sets the snap border distance
The snap border distance.
|
getset |
Gets or sets the snap distance
The snap distance.
|
getset |
Gets or sets the start view position
The start view position.
|
getset |
Gets or sets the synchronizer
The synchronizer.
|
getset |
Gets or sets the vertical offset
The vertical offset.
|
get |
Gets the visible layers
The visible layers.
|
getset |
Gets or sets the zoom factor x coordinate
The zoom factor x coordinate.
ChangedHandler LayersHeightChanged |
Event queue for all listeners interested in LayersHeightChanged events
SegmentModifiedHandler SegmentModified |
Event fired after segment modified