DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomImage Class / StretchMode Property



In This Topic
    StretchMode Property
    In This Topic
    Controls the automatic zooming of an image.
    Syntax
    'Declaration
     
    
    Public Property StretchMode As StretchModes
    'Usage
     
    
    Dim instance As DicomImage
    Dim value As StretchModes
     
    instance.StretchMode = value
     
    value = instance.StretchMode
    public StretchModes StretchMode {get; set;}
    public:
    property StretchModes StretchMode {
       StretchModes get();
       void set (    StretchModes value);
    }
    Remarks
    If not None, the image is sized to fit the display area available to it, whilst retaining its aspect ratio. If None, the image is displayed according to the Zoom and Scroll properties.
    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