←Select platform

SetPreamble(IntPtr,int) Method

Summary
Sets the contents of the file's preamble.
Syntax
C#
C++/CLI
public void SetPreamble( 
   IntPtr preamble, 
   int length 
) 
public: 
void SetPreamble(  
   IntPtr preamble, 
   int length 
)  

Parameters

preamble
The preamble to set.

length
Value that represents the length of the preamble, in bytes. The maximum length is 128 bytes.

Remarks

The standard length of the Preamble is 128 bytes. If the value specified by length is > 128 bytes, then the Preamble will be set with the first 128 bytes of preamble. If length is < or equal 128 bytes, then the Preamble will be set with the entire contents of preamble.

To retrieve the contents of the Preamble, call the GetPreamble method.

Requirements

Target Platforms

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

Leadtools.Dicom Assembly

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