DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / Zoom Property



In This Topic
    Zoom Property
    In This Topic
    Controls the magnification of an image display
    Syntax
    'Declaration
     
    Public Property Zoom As Single
    'Usage
     
    Dim instance As DicomImage
    Dim value As Single
     
    instance.Zoom = value
     
    value = instance.Zoom
    public float Zoom {get; set;}
    public:
    property float Zoom {
       float get();
       void set (    float value);
    }
    Remarks

    Together with Scroll, this property determines the display of an image, which is magnified by 'Zoom' relative to an original size which is defined as 1 pixel = 1 screen pixel. This property is ignored if the image's StretchMode property is True.

    In order to find the values used at any given time, even if StretchToFit is true, use the Matrix method to get the ActualZoom which is used in the COM version.

    This property is over-ridden if a PresentationState is applied.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also