DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / PresentationStateToCurrent Method / PresentationStateToCurrent() Method






In This Topic
    PresentationStateToCurrent() Method
    In This Topic
    Modifies current display properties to match the DICOM presentation state.
    Syntax
    'Declaration
     
    
    <System.ObsoleteAttribute("Best use of this method needs to know the viewer it is being displayed in - please use PresentationStateToCurrent(DicomViewer) instead")>
    Public Overloads Sub PresentationStateToCurrent() 
    'Usage
     
    
    Dim instance As DicomImage
     
    instance.PresentationStateToCurrent()
    [System.Obsolete("Best use of this method needs to know the viewer it is being displayed in - please use PresentationStateToCurrent(DicomViewer) instead")]
    public void PresentationStateToCurrent()
    public procedure PresentationStateToCurrent(); 
    System.ObsoleteAttribute("Best use of this method needs to know the viewer it is being displayed in - please use PresentationStateToCurrent(DicomViewer) instead")
    public function PresentationStateToCurrent();
    [System.Obsolete("Best use of this method needs to know the viewer it is being displayed in - please use PresentationStateToCurrent(DicomViewer) instead")]
    public: void PresentationStateToCurrent(); 
    [System.Obsolete("Best use of this method needs to know the viewer it is being displayed in - please use PresentationStateToCurrent(DicomViewer) instead")]
    public:
    void PresentationStateToCurrent(); 
    Remarks
    This is essentially the reverse of CurrentToPresentationState . DicomImage properties such as Scroll, Zoom and Labels are set to reflect as accurately as possible the data in the current PresentationState property. If private attributes have been added by CurrentToPresentationState, then they are utilized in this method. For finer control of which properties are modified, consider one of the overrides which take a DicomObjects.Enums.PresentationStateFeatures parameter.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also