IMcImageStorageWriteSubFrame Method
|
|
Write a sub-rectangle to the storage.
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxSub WriteSubFrame (
BufferAddress As IntPtr,
FrameIndex As Integer,
FrameCount As Integer,
Left As Integer,
Top As Integer,
Right As Integer,
Bottom As Integer,
SizeRatioX As Double,
SizeRatioY As Double
)
Parameters
- BufferAddress
- Type: SystemIntPtr
In-process buffer from which the frame will be taken to be
written. This buffer must be organized as specified by the NaturalImageType
property. In particular, if the NaturalImageType.Organization is
mcoBMPArray, then rows must be WORD (2 byte) aligned; if
NaturalImageType.Organization is mcoDIBArray or mcoNewDIBArray, then the
rows must be DWORD (4 byte) aligned. - FrameIndex
- Type: SystemInt32
Index of frame to be accessed - FrameCount
- Type: SystemInt32
- Left
- Type: SystemInt32
Left of rectangle to write. - Top
- Type: SystemInt32
Top of rectangle to write. - Right
- Type: SystemInt32
Right of rectangle to write. - Bottom
- Type: SystemInt32
Bottom of rectangle to write. - SizeRatioX
- Type: SystemDouble
- SizeRatioY
- Type: SystemDouble
RemarksThe method will fail if the write cannot be done. Do not call
unless the mciscFrameWrite and/or mciscSubFrameWrite bits of the Capabilities
property are set. If mciscSubFrameWrite is not set, then only full-frame
writes should be attempted.
See AlsoReference
SReadSubsampledSubFrame