DicomObjects Reference
DicomObjects Reference / DicomImage Object / StretchedAlignment Property
In This Topic
    StretchedAlignment Property
    In This Topic
    Description
    Controls the alignment of a stretched-to-fit Image
    Property type
    Read-write property
    Syntax
    Visual Basic
    Public Property StretchedAlignment As Integer
    Remarks

    When StretchedCentred is set then the image is maximised in either the vertical or horizontal directions, according to which one would give the smaller size, then it has to be aligned in the other direction.  By default (when the value of this property is 5) the image is centred, whichever direction applies, but this property allows that default behaviour to be changed.  Note though that only the horizontal or the vertical aspect will be used, since the other direction will be maximised.

     

    Align Left

    Align Centre

    Align Right

    Align Top

    0

    1

    2

    Align Centre

    4

    5

    6

    Align Bottom

    8

    9

    10

     

    See Also