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 System.String, _
ByVal As System.String, _
ByVal As System.Object _
)
'Usage
Dim Image As DicomDataSet
Dim Format As System.String
Dim Codec As System.String
Dim Quality As System.Object
Dim instance As New VideoCompressionOptions(Image, Format, Codec, Quality)
public VideoCompressionOptions(
DicomDataSet ,
System.string ,
System.string ,
System.object
)
public VideoCompressionOptions(
: DicomDataSet;
: System.String;
: System.String;
: System.TObject
);
public function VideoCompressionOptions(
: DicomDataSet,
: System.String,
: System.String,
: System.Object
);
public: VideoCompressionOptions(
DicomDataSet* ,
System.string* ,
System.string* ,
System.Object*
)
public:
VideoCompressionOptions(
DicomDataSet^ ,
System.String^ ,
System.String^ ,
System.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.8 or higher
See Also