ImagePlaneGetVPATAccessT Method

CVB.Net Documentation
Gets typed VPAT access to the plane's pixels.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public VpatAccessData<T> GetVPATAccess<T>()
where T : struct, new()

Type Parameters

T
Structure for access a single plane's pixel.

Return Value

Type: VpatAccessDataT
Data structure with the value for accessing the pixels.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf Parent has already been disposed
InvalidOperationExceptionThrown if the size of T and BytesPerPixel are unequal.
Remarks

The size of T must be equal to the BytesPerPixel.

Attention: Do not use reference types in T as this will leak memory!

See Also

Reference