Sets the binary value of an element.
public bool SetBinaryValue(
Leadtools.Dicom.DicomElement element,
string fileName
)
Public Overloads Function SetBinaryValue( _
ByVal element As Leadtools.Dicom.DicomElement, _
ByVal fileName As String _
) As Boolean
public bool SetBinaryValue(
Leadtools.Dicom.DicomElement element,
string fileName
)
function Leadtools.Dicom.DicomDataSet.SetBinaryValue(DicomElement,String)(
element ,
fileName
)
public:
bool SetBinaryValue(
Leadtools.Dicom.DicomElement^ element,
String^ fileName
)
element
An item in the Data Set.
fileName
Path name of the file that contains the binary value to set.
True if the binary value of the Data Element was set successfully. false, if it could not set the binary value of the Data Element.
This method overwrites the value of the Data Element. The Value Length of the Data Element is then equal to the file length.
This example will replace the video stored in an existing DICOM Dataset with another one. The replacement video should have the same format, frame rate and compression as the originally stored one.
Note: This example assumes the replacement video has all the correct characteristics of a Dicom video and assumes that the tags found in the original dataset matches the video specs as well, if you need higher level video processing you need to use the medical SDK, which is supported only via the LEADTOOLS Medical Multimedia Module.
SetBinaryValue(DicomElement,IntPtr,Int32) Method
SetStringValue(DicomElement,String,DicomCharacterSetType) Method
SetStringValue(DicomElement,String[],DicomCharacterSetType) Method
SetStringValue(DicomElement,String) Method
SetStringValue(DicomElement,String[]) Method
SetStringValuePtr(DicomElement,IntPtr,Int32) Method
SetStringValuePtr(DicomElement,IntPtr,UInt32,DicomCharacterSetType) Method
SetShortValue(DicomElement,Int16[],Int32) Method
SetIntValue(DicomElement,Int32[],Int32) Method
SetFloatValue(DicomElement,Single[],Int32) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method
Products |
Support |
Feedback: SetBinaryValue(DicomElement,String) Method - Leadtools.Dicom |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.