DicomObjects.NET.8.48 Documentation
DicomObjects.Video Namespace / VideoCompressionOptions Class / Scale Property






    Scale Property (VideoCompressionOptions)
    Controls whether to scale video if OutputSize is not the same as the original DICOM image size
    Syntax
    'Declaration
     
    
    Public Property Scale As System.Boolean
     
    'Usage
     
    
    Dim instance As VideoCompressionOptions
    Dim value As System.Boolean
     
    instance.Scale = value
     
    value = instance.Scale
    Remarks

    If true or if the original DICOM image size is larger than the OutputSize, then the images are scaled to fit on the most restrictive dimension

    If false, and if the original DICOM image size is smaller than the OutputSize, then the original size is retained, and padding is placed around it

    Requirements