DicomObjects.NET.V8
DicomObjects.Enums Namespace / StretchModes Enumeration



In This Topic
    StretchModes Enumeration
    In This Topic
    Controls how an image is displayed
    Syntax
    'Declaration
     
    Public Enum StretchModes 
       Inherits System.Enum
    'Usage
     
    Dim instance As StretchModes
    public enum StretchModes : System.Enum 
    public enum class StretchModes : public 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
    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.0 or higher

    See Also