接口文档

基础扫描

方法
AcquireImage() CloseSource() DisableSource()
EnableSource() OpenSource() SelectSource()
SelectSourceByIndex() SetOpenSourceTimeout()
属性
BitDepth IfAppendImage IfDisableSourceAfterAcquire
IfDuplexEnabled IfFeederEnabled IfShowUI
ImageCaptureDriverType PageSize PixelType
Resolution SourceCount
事件
OnPostAllTransfers OnPostTransfer

实时编辑

方法
AddText() ChangeBitDepth() ChangeImageSize()
ConvertToGrayScale() CopyToClipboard() CreateTextFont()
Crop() CropToClipboard() CutFrameToClipboard()
CutToClipboard() Erase() Flip()
Mirror() MoveImage() OverlayRectangle()
RemoveAllImages() RemoveAllSelectedImages() RemoveImage()
Rotate() RotateEx() RotateLeft()
RotateRight() SetDPI() SetImageWidth()
SetSelectedImageArea() SetSelectedImageIndex() ShowImageEditor()
SwitchImage()
SelectionRectAspectRatio
事件
OnImageAreaSelected OnImageAreaDeSelected

UI展示

方法
SetViewMode()
属性
BackgroundColor BackgroundFillColor FitWindowType
Height IfAutoScroll IfFitWindow
ImageMargin MaxImagesInBuffer MouseShape
SelectionImageBorderColor Width Zoom
ShowPageNumber MouseX MouseY
事件
OnTopImageInTheViewChanged OnMouseClick
OnMouseDoubleClick OnMouseMove
OnMouseRightClick

加载保存

方法
FileExists() LoadDibFromClipboard()
LoadImage() LoadImageEx()
LoadImageFromBase64Binary() SaveAllAsMultiPageTIFF()
SaveAllAsPDF() SaveAsBMP()
SaveAsJPEG() SaveAsPDF()
SaveAsPNG() SaveAsTIFF()
SaveSelectedImagesAsMultiPagePDF() SaveSelectedImagesAsMultiPageTIFF()
SaveSelectedImagesToBase64Binary() ShowFileDialog()
属性
IfShowFileDialog
事件
OnGetFilePath OnPostLoad

上传下载

方法
ClearAllHTTPFormField() FTPDownload()
FTPDownloadDirectly() FTPDownloadEx()
FTPUpload() FTPUploadAllAsMultiPageTIFF()
FTPUploadAllAsPDF() FTPUploadAsMultiPagePDF()
FTPUploadAsMultiPageTIFF() FTPUploadEx()
HTTPDownload() HTTPDownloadDirectly()
HTTPDownloadEx() HTTPUpload()
HTTPUploadAllThroughPostAsMultiPageTIFF() HTTPUploadAllThroughPostAsPDF()
HTTPUploadThroughPost() HTTPUploadThroughPostAsMultiPagePDF()
HTTPUploadThroughPostAsMultiPageTIFF() HTTPUploadThroughPostEx()
SetHTTPFormField() SetUploadSegment()
SetHTTPHeader()
属性
FTPPassword FTPPort
FTPUserName HttpFieldNameOfUploadedImage
HTTPPort HTTPPostResponseString
IfPASVMode IfShowCancelDialogWhenImageTransfer
IfSSL MaxUploadImageSize
事件
OnInternetTransferPercentage

进阶扫描

方法
CancelAllPendingTransfers() CloseSourceManager() CloseWorkingProcess()
FeedPage() GetCustomDSData() GetCustomDSDataEx()
GetDeviceType() GetSourceNameItems() OpenSourceManager()
ResetImageLayout() RewindPage() SetCustomDSData()
SetCustomDSDataEx() SetFileXferInfo() SetImageLayout()
属性
Brightness Contrast CurrentSourceName
DataSourceStatus DefaultSourceName Duplex
IfAutoBright IfAutoDiscardBlankpages IfAutoFeed
IfAutomaticBorderDetection IfAutomaticDeskew IfAutoScan
IfFeederLoaded IfPaperDetectable IfShowIndicator
IfUIControllable IfUseTwainDSM PendingXfers
PixelFlavor TransferMode Unit
XferCount
事件
OnPreAllTransfers OnPreTransfer OnSourceUIClose

高级设置

方法
CapGet() CapGetCurrent() CapGetDefault()
CapGetFrameBottom() CapGetFrameLeft() CapGetFrameRight()
CapGetFrameTop() CapGetHelp() CapGetLabel()
CapGetLabels() CapIfSupported() CapReset()
CapSet() GetCapItems() GetCapItemsString()
SetCapItems()
属性
Capability CapCurrentIndex CapCurrentValue
CapDefaultIndex CapDefaultValue CapMaxValue
CapMinValue CapNumItems CapStepSize
CapType CapValue CapValueString
CapValueType

编码解码

方法
ClearTiffCustomTag() ConvertToBase64() ConvertToBlob()
SetTiffCustomTag()
属性
IfOpenImageWithGDIPlus() IfTiffMultiPage() JPEGQuality()
PDFAuthor() PDFCompressionType() PDFCreationDate()
PDFCreator() PDFKeywords() PDFModifiedDate()
PDFProducer() PDFSubject() PDFTitle()
PDFVersion() TIFFCompressionType()

运行时信息

方法
GetImageBitDepth() GetImageHeight() GetImageSize()
GetImageSizeWithSpecifiedType() GetImageWidth() GetImageXResolution()
GetImageYResolution() GetSelectedImageIndex() GetSelectedImagesSize()
GetSkewAngle() GetSkewAngleEx() IsBlankImageExpress()
属性
BlankImageCurrentStdDev BlankImageMaxStdDev BlankImageThreshold
CurrentImageIndexInBuffer HowManyImagesInBuffer ImageLayoutDocumentNumber
ImageLayoutFrameBottom ImageLayoutFrameLeft ImageLayoutFrameNumber
ImageLayoutFrameRight ImageLayoutFrameTop ImageLayoutPageNumber
ImagePixelType MagData MagType
SelectedImagesCount

一般用途

方法
Print() RegisterEvent() UnregisterEvent()
SetLanguage()
属性
BufferMemoryLimit ErrorCode ErrorString
IfAllowLocalCache IfShowProgressBar LogLevel
Manufacturer ProductFamily ProductKey
ProductName VersionInfo
事件
OnBitmapChanged

PDF加载

方法
Addon.PDF.Download() Addon.PDF.SetResolution()
Addon.PDF.SetPassword() Addon.PDF.SetConvertMode()

二维码识别

构造函数
dynamsoft.BarcodeReader()
方法
decode() decodeBase64String() getRuntimeSettings()
updateRuntimeSettings() resetRuntimeSettings()
dynamsoft.BarcodeReader.initServiceConnection()
属性
productKey bAutoConnectService
resourcesPath ifCheck64bitServiceFirst
事件
onAutoConnectServiceSuccess onAutoConnectServiceError

枚举类

错误

文字识别基础版

客户端

方法
Download() DownloadLangData() GetIfUseDetectedFont()
GetMinFontSizeforMoreAccurateResult() GetUnicodeFontName() IsModuleInstalled()
Recognize() RecognizeFile() RecognizeRect()
RecognizeSelectedImages SetIfUseDetectedFont() SetLanguage()
SetMinFontSizeforMoreAccurateResult() SetOutputFormat() SetPageSetMode()
SetUnicodeFontName()
OCR Basic Result Object
Result PageSetResult PageResult
LineResult WordResult

服务器端

文字识别专业端

客户端

方法
Download() IsModuleInstalled() Recognize()
RecognizeFile() RecognizeRect() RecognizeSelectedImages
属性
Settings
OCR Pro Result Object
OCRResult PageResult
LetterResult ErrorInfo

服务器端

OCRPro.ServerSide.Request

OCRPro.ServerSide.Response

results matching ""

    No results matching ""