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



In This Topic
    StretchModes Enumeration
    In This Topic
    Controls how an image is displayed
    Syntax
    'Declaration
     
    
    <FlagsAttribute()>
    Public Enum StretchModes 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As StretchModes
    [Flags()]
    public enum StretchModes : System.Enum 
    [Flags()]
    public enum class StretchModes : public System.Enum 
    Members
    MemberDescription
    NoStretchNot stretched at all - display depends on and properties. If rotated, image position will be calculated as if non-rotated, the moved by DicomObjects.DicomImage.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 , but image will be zoomed and rotated and the top-left of its bounding box calculated to provide a reference position before the is applied.
    Inheritance Hierarchy

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

    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