Copies data to the video format buffer.
public void SetVideoFormatData(
Leadtools.Multimedia.VideoInfoHeader vih,
Leadtools.Multimedia.RGBQUAD[] palette,
int paletteCount
)
Public Sub SetVideoFormatData( _
ByVal vih As Leadtools.Multimedia.VideoInfoHeader, _
ByVal palette() As Leadtools.Multimedia.RGBQUAD, _
ByVal paletteCount As Integer _
)
public:
void SetVideoFormatData(
Leadtools.Multimedia.VideoInfoHeader vih,
Leadtools.Multimedia.array<RGBQUAD>^ palette,
int paletteCount
)
vih
A VideoInfoHeader structure containing the format data to set.
palette
An optional array of RGBQUAD structures containing the palette information for video with 8 bits per pixel or less. Pass null for videos with more than 8 bits per pixel.
paletteCount
The number of elements from that should be used from the palette parameter. It should be less than palette.Length. Pass 0 if palette is null.
Copies data to the video format buffer. This is a helper method which internally sets the unmanaged memory size of the VideoInfoHeader structure and then calls MediaType.SetFormatData marshalling the structure to a byte array. If the method fails, an error is raised. For more information, refer to the Error Codes.
Products |
Support |
Feedback: SetVideoFormatData Method - Leadtools.Multimedia |
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.