VideoCompressionOptions Constructor
In This Topic
Construct a default set of compression options for a given image and output format
Syntax
'Declaration
Public Function New( _
ByVal As DicomDataSet, _
ByVal As String, _
ByVal As String, _
ByVal As Object _
)
'Usage
Dim Image As DicomDataSet
Dim Format As String
Dim Codec As String
Dim Quality As Object
Dim instance As New VideoCompressionOptions(Image, Format, Codec, Quality)
public VideoCompressionOptions(
DicomDataSet ,
string ,
string ,
object
)
public:
VideoCompressionOptions(
DicomDataSet^ ,
String^ ,
String^ ,
Object^
)
Parameters
- Image
- The Image to be compressed to video
- Format
- The output format - see remarks
- Codec
-
If specified (may be null), then the specific codec is used - otherwise this can be selected
internally based on the container
- Quality
-
If set to a value convertable to an integer, then this is used to initialise the BitsPerSecond
property
Requirements
Target Platforms: .NET CLR 4.0 or higher
See Also