DicomObjects.NetStandard Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also