MonobjcMonobjc Documented Class Library
ScaleSegmentNewDuration Method (segment, newDuration)
NamespacesMonobjc.QTKitQTTrackScaleSegmentNewDuration(QTTimeRange, QTTime)

Scales the QTTrack segment delimited by the segment segment so that it will have the new duration newDuration.

Original signature is '- (void)scaleSegment:(QTTimeRange)segment newDuration:(QTTime)newDuration'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ScaleSegmentNewDuration(
	QTTimeRange segment,
	QTTime newDuration
)
Public Overridable Sub ScaleSegmentNewDuration ( _
	segment As QTTimeRange, _
	newDuration As QTTime _
)
public:
virtual void ScaleSegmentNewDuration(
	QTTimeRange segment, 
	QTTime newDuration
)
Parameters
segment (QTTimeRange)
A QTTimeRange structure that indicates the segment in the target track that is to be scaled.
newDuration (QTTime)
A QTTime structure that indicates the desired duration of the segment that is to be scaled.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.QTKit (Module: Monobjc.QTKit)