In This Topic
Method to set pixel data directly from a stream
Syntax
'Declaration
Public Sub SetPixelData( _
ByVal As System.String, _
ByVal As System.Func(Of Integer,Stream) _
)
'Usage
Dim instance As DicomImage
Dim TransferSyntax As System.String
Dim GetData As System.Func(Of Integer,Stream)
instance.SetPixelData(TransferSyntax, GetData)
public void SetPixelData(
System.string ,
System.Func<int,Stream>
)
public procedure SetPixelData(
: System.String;
: System.Func
);
public function SetPixelData(
: System.String,
: System.Func
);
public: void SetPixelData(
System.string* ,
System.Func<int,Stream*>*
)
public:
void SetPixelData(
System.String^ ,
System.Func<int,Stream^>^
)
Parameters
- TransferSyntax
- The transfer syntax of the data provided via the function
- GetData
- User defined function to return the correct pixel data stream for the requested frame number
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also