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)
Syntaxpublic 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: System.Int32
The width of the image. - height
- Type: System.Int32
The height of the image.
- bitCount
- Type: System.Int32
The bit count of the image. - imageData
- Type:System.Byte[]
A byte array containing the image data. - palette
- Type:System.Byte[]
A byte array containing the palette data or null if a palette is not required. - dpiX
- Type: System.Single
The horizontal resolution of the image. - dpiY
- Type: System.Single
The vertical resolution of the image.
See Also