←Select platform

AddDaysMacro Method

Summary

Macro that adds days to the existing DICOM element value.

Syntax

C#
VB
C++
public static string AddDaysMacro( 
   MacroElement element, 
   string name, 
   object[] parameters 
) 
Public Shared Function AddDaysMacro( _ 
   ByVal element As Leadtools.Dicom.Common.Anonymization.MacroElement, _ 
   ByVal name As String, _ 
   ByVal ParamArray parameters() As Object _ 
) As String 
public: 
static String^ AddDaysMacro(  
   Leadtools.Dicom.Common.Anonymization.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 new date value that that is incremented the specified number of days.

Remarks

The following is valid for parameters:

  • number of days [required] - The number of days to add to the current value
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly