AnnotationImage Constructor (Int32, Int32, Int32, Byte, Byte, Single, Single) |
Creates a new instance of AnnotationImage specifying the image properties.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public AnnotationImage(
int width,
int height,
int bitCount,
byte[] imageData,
byte[] palette,
float dpiX,
float dpiY
)
Public Sub New (
width As Integer,
height As Integer,
bitCount As Integer,
imageData As Byte(),
palette As Byte(),
dpiX As Single,
dpiY As Single
)
Parameters
- width
- Type: SystemInt32
The width of the image. - height
- Type: SystemInt32
The height of the image.
- bitCount
- Type: SystemInt32
The bit count of the image. - imageData
- Type: SystemByte
A byte array containing the image data. - palette
- Type: SystemByte
A byte array containing the palette data or null if a palette is not required. - dpiX
- Type: SystemSingle
The horizontal resolution of the image. - dpiY
- Type: SystemSingle
The vertical resolution of the image.
See Also