PdfImageTicket Constructor (Stream, Int64, Int64, Int32, Int32, Int32, PdfColorSpace, PdfImageCompressionType, Dpi) |
Namespace:
Atalasoft.Ocr
Assembly:
Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PdfImageTicket(
Stream source,
long start,
long length,
int width,
int height,
int bitsPerComponent,
PdfColorSpace colorSpace,
PdfImageCompressionType compression,
Dpi resolution
)
Public Sub New (
source As Stream,
start As Long,
length As Long,
width As Integer,
height As Integer,
bitsPerComponent As Integer,
colorSpace As PdfColorSpace,
compression As PdfImageCompressionType,
resolution As Dpi
)
Parameters
- source
- Type: System.IOStream
The source. - start
- Type: SystemInt64
The start. - length
- Type: SystemInt64
The length. - width
- Type: SystemInt32
The width. - height
- Type: SystemInt32
The height. - bitsPerComponent
- Type: SystemInt32
The bits per component. - colorSpace
- Type: Atalasoft.OcrPdfColorSpace
The color space. - compression
- Type: Atalasoft.OcrPdfImageCompressionType
The compression. - resolution
- Type: Atalasoft.ImagingDpi
The resolution.
Exceptions Exception | Condition |
---|
ArgumentNullException | source;source stream can't be null |
See Also