AutoAgeMacro Method

Summary

Macro that converts the Patient birth date to a DICOM age string.

Syntax
C#
VB
C++
public static string AutoAgeMacro( 
   MacroElement element, 
   string name, 
   object[] parameters 
) 
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 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly