DicomObjects.NET.8.48 Documentation
DicomObjects.Enums Namespace / StretchModes Enumeration

In This Topic
    StretchModes Enumeration
    In This Topic
    Controls how an image is displayed
    Syntax
    'Declaration
     
    
    <System.FlagsAttribute()>
    Public Enum StretchModes 
       Inherits System.Enum
    [System.Flags()]
    public enum StretchModes : System.Enum 
    Members
    MemberDescription
    NoStretchNot stretched at all - display depends on Zoom and Scroll properties. If rotated, image position will be calculated as if non-rotated, the moved by Scroll and then finally rotated around its centre point.
    StretchCentredFitted to the available size, and centered within that
    StretchTopLeftFitted to the available size, but placed in the top left corner
    StretchTopRightFitted to the available size, but placed in the top right corner
    TrueSizeSimilar to NoStretch, but image will be zoomed and rotated and the top-left of its bounding box calculated to provide a reference position before the Scroll is applied.
    Remarks
    The replaces the previous StrecthToFit property, but has additional flexibility
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             DicomObjects.Enums.StretchModes

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also