AutoAgeMacro Method

Summary
Macro that converts the Patient birth date to a DICOM age string.
Syntax
C#
C++
public static string AutoAgeMacro( 
   MacroElement element, 
   string name, 
   object[] parameters 
) 
vb[VB Syntax] 
Public Shared Function AutoAgeMacro( _ 
   ByVal _element_ As MacroElement, _ 
   ByVal _name_ As String, _ 
   ByVal ParamArray _parameters_() As Object _ 
) As String 
public: 
static String^ AutoAgeMacro(  
   MacroElement^ element, 
   String^ name, 
   ... array<Object^>^ parameters 
)  

Parameters

element
The macro element that holds information about the dataset.

name
The name of the macro.

parameters
The parameters that were passed to the macro.

Return Value

A DICOM age string.

Remarks

This macro has no parameters. The macro guarantees that the sex return is not equal to the current value.

Requirements

Target Platforms

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.