DicomObjects.NET.V8
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: .NET CLR 4.0 or higher

    See Also