Retrieves information about an image that is located in a memory buffer.
Visual Basic |
---|
Public Sub QueryBufferPtr( _ ByRef pBuffer As Byte, _ ByVal nBufferSize As Long, _ ByVal nPageNbr As Long, _ ByRef pnWidth As Long, _ ByRef pnHeight As Long, _ ByRef pnBPP As Integer, _ ByRef pnFormat As Integer, _ ByRef pnResUnits As Integer, _ ByRef pfResX As Double, _ ByRef pfResY As Double _ ) |
- pBuffer
- The address of byte array that contains the image to be queried.
- nBufferSize
- The size of the byte array pointed to by the pBuffer parameter.
- nPageNbr
- The page number inside the image to be queried.
- pnWidth
- The address of the long value which will contain the width of the image after the call.
- pnHeight
- The address of the long value which will contain the height of the image after the call.
- pnBPP
- The address of the integer value which will contain the number of bits per pixel of the image after the call.
- pnFormat
The address of the integer which will contain the format of the image in the memory buffer.
This will be one of the IX_ImageType enumerated values.
- pnResUnits
- The address of the integer value which will contain the resolution units of the image after the call.
- pfResX
- The address of a double value which will contain the x resolution of the image after the call.
- pfResY
- The address of a double value which will contain the the y resolution of the image after the call.