DicomObjects.NET.V8
DicomObjects.Video Namespace / VideoCompressionOptions Class / Scale Property



In This Topic
    Scale Property (VideoCompressionOptions)
    In This Topic
    Controls whether to scale video if OutputSize is not the same as the original DICOM image size
    Syntax
    'Declaration
     
    Public Property Scale As Boolean
    'Usage
     
    Dim instance As VideoCompressionOptions
    Dim value As Boolean
     
    instance.Scale = value
     
    value = instance.Scale
    public bool Scale {get; set;}
    public:
    property bool Scale {
       bool get();
       void set (    bool value);
    }
    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

    Target Platforms: .NET CLR 4.0 or higher

    See Also