DicomObjects.NET8 Documentation
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: 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