DicomObjects.NET.8.48 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 System.Boolean
    'Usage
     
    
    Dim instance As VideoCompressionOptions
    Dim value As System.Boolean
     
    instance.Scale = value
     
    value = instance.Scale
    public System.bool Scale {get; set;}
    public read-write property Scale: System.Boolean; 
    public function get,set Scale : System.boolean
    public: __property System.bool get_Scale();
    public: __property void set_Scale( 
       System.bool value
    );
    public:
    property System.bool Scale {
       System.bool get();
       void set (    System.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