Dynamsoft.ImageCore Defines the dynamsoft annotation class. Returns or sets the annotation type. To use the property, the property MouseShape should be set to false. When an error occurs, please check ImageCoreException.
Allowed Values Annotation Types
enumNone(default) Select an area.
enumPointer(Pointer) Select an existing annotation. Press "Ctrl" to multi-select annotations.
enumText(Text) Create a text.The annotation type will be set back to 1 once the annotation is completed.
enumLine(Line) Create a line.The annotation type will be set back to 1 once the annotation is completed.
enumRectangle(Rectangle) Create a rectangle.The annotation type will be set back to 1 once the annotation is completed.
enumEllipse(Ellipse) Create a ellipse.The annotation type will be set back to 1 once the annotation is completed.

Returns or sets the name of the annotation. When an error occurs, please check ImageCoreException. Returns or sets the user name of the annotation. When an error occurs, please check ImageCoreException. Returns or sets the description of the annotation. When an error occurs, please check ImageCoreException. Returns or sets the time when the annotation is created. When an error occurs, please check ImageCoreException. Returns or sets the time when the annotation is last modified. When an error occurs, please check ImageCoreException. Returns or sets the fill color and transparency for the area inside the annotation rectangle/ellipse. This property is only valid when the annotation type is NOT 2(Text). When an error occurs, please check ImageCoreException. By default, the color is white and not transparent. Returns or sets the color of the pen for drawing the annotation rectangle/ellipse/line. This property is only valid when the annotation type is NOT 2(Text). When an error occurs, please check ImageCoreException. By default, the color is black. Returns or sets the width of the pen for drawing the annotation rectangle/ellipse/line. This property is only valid when the annotation type is NOT 2(Text). When an error occurs, please check ImageCoreException. By default, the color is width is 1. Returns or sets the GUID of the annotation. When an error occurs, please check ImageCoreException. Returns the left-top coordinate of the annotation. When an error occurs, please check ImageCoreException. Returns the size of the annotation. When an error occurs, please check ImageCoreException. Returns or sets the font type of the annotation text. When an error occurs, please check ImageCoreException. Returns or sets the content of the annotation text. When an error occurs, please check ImageCoreException. Returns or sets the rotate angle of the annotation text. When an error occurs, please check ImageCoreException. '
Allowed Values TextRotate Types
0 Rotate0
1 Rotate90
2 Rotate180
3 Rotate270
Returns or sets if the annotation is selected. When an error occurs, please check ImageCoreException. Returns or sets the left-top coordinate of the annotation. When an error occurs, please check ImageCoreException. Returns or sets the right-bottom coordinate of the annotation. When an error occurs, please check ImageCoreException. Defines a class getting or setting the properties of text annotation font. Returns or sets the name of the text font. When an error occurs, please check ImageCoreException. Returns or sets the size of the text. When an error occurs, please check ImageCoreException. Returns or sets the style of the text. When an error occurs, please check ImageCoreException. Returns or sets the color of the text. When an error occurs, please check ImageCoreException. Defines a class with the features for the image operation in buffer. This event is triggered after the images are loaded into buffer. This event is triggered after the images are updated. This event is triggered after the image is removed. This event is triggered after the image is moved. Gets the image index by its guid. the GUID of the image. Returns an index(short). -1 indicates there is no such GUID. When an error occurs, please check ImageCoreException. Gets the image GUID by its index. the index of the image in buffer. Returns a GUID. Empty indicates there is no such index. When an error occurs, please check ImageCoreException. Returns or sets whether insert or append the newly scanned/loaded images. When an error occurs, please check ImageCoreException. If the value of the property is set to true, the newly scanned/loaded image will be appended to the last image in buffer. If it is set to false, the image will be inserted before the current image. Returns the index of the current image selected in buffer or sets the image with the specified index as the current image. When an error occurs, please check ImageCoreException. The index is 0 based. Current image is alwarys selected. By changing CurrentImageIndexInBuffer, you can enumerate all the images in buffer. When CurrentImageIndexInBuffer is changed, the control will be redrawn to reflect the change. When an image is added to buffer, the CurrentImageIndexInBuffer is skipped to the next one and the new image is added there. When image buffer is full, that is HowManyImagesInBuffer = MaxImagesInBuffer, the new acquired or loaded image will replace the existing one, positioned by CurrentImageIndexInBuffer. For example, if HowManyImagesInBuffer = 4 and MaxImagesInBuffer = 4, CurrentImageIndexInBuffer = 3, after a new image is acquired, the CurrentImageIndexInBuffer is set to 0, and the 1st image is replaced by the new acquired one . If another image is acquired again, the CurrentImageIndexInBuffer is set to 1 and the 2nd image is replaced by the newly acquired one. If an image is selected, the value of CurrentImageIndexInBuffer will be the index of the selected image. Returns or sets the maximum number of images can be held in buffer. When an error occurs, please check ImageCoreException. The default value of this property is 32767. When image buffer is full, that is HowManyImagesInBuffer equals MaxImagesInBuffer, the newly acquired or loaded image will replace the existing ones from the first one on. Returns how many images are currently loaded in buffer. This is a runtime, read-only property. When an error occurs, please check ImageCoreException. Returns all images in buffer. When an error occurs, please check ImageCoreException. Moves a specified image. Specifies the index of image in buffer. The index is 0-based. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Deletes the images of specified indices in the array. Specifies the indices of image in buffer. The index is 0-based. ShortArray: an array with objects of short type. Its length is variable. When an error occurs, please check ImageCoreException. If aryIndex contains any invalid index, an error message will be written into the ErrorString property and no image will be saved. But if aryIndex contains repeated valid indexes, the repeated index will be filtered, only one index will be kept. After the selected image is deleted, the following images' indexes will change accordingly. If the original CurrentImageIndexInBuffer >= HowManyImagesInBuffer, CurrentImageIndexInBuffer = HowManyImagesInBuffer; Also the image will be selected. If the original CurrentImageIndexInBuffer is less than HowManyImagesInBuffer, CurrentImageIndexInBuffer will not change and the image with the index of CurrentImageIndexInBuffer will be selected. Removes the image of a specified index in buffer. Specifies the index of image to be deleted in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. If the CurrentImageIndexInBuffer is equal to MaxImagesInBuffer -1, the image with the index of CurrentImageIndexInBuffer will be removed, and the CurrentImageIndexInBuffer will be MaxImagesInBuffer -2; No image will be highlighted in the control. If the CurrentImageIndexInBuffer is 0, the first image will be removed; and CurrentImageIndexInBuffer will still be 0. The indices of images will be changed accordingly. The image with index 0 will be selected.(This is also the case when the index is set to another value except MaxImagesInBuffer -1) Switches two images of specified indices in buffer. Specifies the index of image in buffer. The index is 0-based. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Gets the bitmap of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. True indicates success. False indicates failure. When an error occurs, please check ImageCoreException. Replaces the bitmap of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. The bitmap of the target image that will replace the original one. When an error occurs, please check ImageCoreException. Take care of AnnotationObject. Gets the metadata of an image of a specified index. Specifies the index of image in buffer. The index is 0-based. The meta data type of an image The data type of the return value is object. When an error occurs, please check ImageCoreException. Sets the metadata of an image of a specified index. Specifies the index of image in buffer. The index is 0-based. The meta data type of an image. The value of meta data. Specifies if OnUpdated event is triggered. When an error occurs, please check ImageCoreException. Summary description for ImageOperator. Defines a class provides functions for processing images in buffer. Changes the DPI (dots per inch) of an image specified by index. Specifies the index of the image to be converted. The index is 0-based Specifies horizonal resolution. Specifies vertical resolution. Specifies whether to resample the image. (The image size will change if this is set to true). Specifies the algorithm to do interpolation. Rotates the image of a specified index in buffer by 90 degrees clockwise to the left. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. RotateLeft() rotates an image and replaces the original image with the rotated copy. Rotates the image of a specified index in buffer by 90 degrees clockwise to the right. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. RotateRight() rotates an image and replaces the original image with the rotated copy. Rotates the image of a specified index in buffer by specified angle. Specifies the index of image in buffer. The index is 0-based. Specifies the rotation angle. Specifies if keep the size or not. Specifies the method to do interpolation. DWTInterpolationMethod Allowed Values
Interpolation Method
1 NearestNeighbor
2 Bilinear
3 Bicubic
When an error occurs, please check ImageCoreException. Please specify the fill color by BackgroundFillColor property.
Changes the display size of the image of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. Specifies the pixel width of the new image. Specifies the pixel height of the new image. Specifies the method to do interpolation. DWTInterpolationMethod Allowed Values
Interpolation Method
1 NearestNeighbor
2 Bilinear
3 Bicubic
When an error occurs, please check ImageCoreException. ChangeImageSize() changes the display size of an image and replaces the original image with new one.
Crops the image of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. Specifies the x-coordinate of the upper-left corner of the rectangle. Specifies the y-coordinate of the upper-left corner of the rectangle. Specifies the x-coordinate of the lower-right corner of the rectangle. Specifies the y-coordinate of the lower-right corner of the rectangle. Flips the image of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Flip() flips an image and replaces the original image with the flipped copy. Mirrors the image of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Mirror() mirrors an image and replaces the original image with the mirrored copy. Clears the specified area of a specified image, and fill the area with the fill color. Specifies the index of image in buffer. The index is 0-based. Specifies the x-coordinate of the upper-left corner of the rectangle. Specifies the y-coordinate of the upper-left corner of the rectangle. Specifies the x-coordinate of the lower-right corner of the rectangle. Specifies the y-coordinate of the lower-right corner of the rectangle. When an error occurs, please check ImageCoreException. The fill color can be defined by BackgroundFillColor. The valid area is the intersection of specified area(defined by the input parameters) and the whole image.If the intersection is invalid, an error will be throwed out. Inverts the color of a specific image. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Converts a specific image to a grayscale image. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Detects whether an image is blank. specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. IsBlankImage() detects whether an image is blank. Detects whether a certain area on an image is blank. specifies the index of image in the buffer. The index is 0-based. specifies the x-coordinate of the upper-left corner of the rectangle for detecting. specifies the y-coordinate of the upper-left corner of the rectangle for detecting. specifies the x-coordinate of the lower-right corner of the rectangle for detecting. specifies the y-coordinate of the lower-right corner of the rectangle for detecting. specifies whether use fuzzy matching when detecting. When an error occurs, please check ImageCoreException. If you would like to check whether an image is blank, you can use the IsBlankImage method Calculates the skew angle of the image of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. The skew angle of the image. When an error occurs, please check ImageCoreException. Calculates the skew angle of the image of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. Specifies the x-coordinate of the upper-left corner of the rectangle. Specifies the y-coordinate of the upper-left corner of the rectangle. Specifies the x-coordinate of the lower-right corner of the rectangle. Specifies the y-coordinate of the lower-right corner of the rectangle. The skew angle of the image. When an error occurs, please check ImageCoreException. Copies the image of a specified index in buffer to clipboard in DIB format. Specifies the index of image in buffer. The index is 0-based. Specifies the x-coordinate of the upper-left corner of the rectangle. Specifies the y-coordinate of the upper-left corner of the rectangle. Specifies the x-coordinate of the lower-right corner of the rectangle. Specifies the y-coordinate of the lower-right corner of the rectangle. When an error occurs, please check ImageCoreException. CopyToClipboard() makes a copy of the image to the clipboard. If the application does not need the image in buffer any more, please use CutToClipboard(), which can save memory, especially when the image is large. The copied image is in DIB format. Cuts the image data in the specified area to the system clipboard in DIB format. Specifies the index of image in buffer. The index is 0-based. Specifies the x-coordinate of the upper-left corner of the rectangle. Specifies the y-coordinate of the upper-left corner of the rectangle. Specifies the x-coordinate of the lower-right corner of the rectangle. Specifies the y-coordinate of the lower-right corner of the rectangle. When an error occurs, please check ImageCoreException. The fill color can be assigned by calling BackgroundFillColor.This method cuts the image data of the selected area into the clipboard. The valid area is the intersection of specified area(defined by the input parameters) and the whole image.If the intersection is invalid, an error will be thrown out. Returns or sets the dividing line between black and white. The default value is 128. When an error occurs, please check ImageCoreException. The allowed values are from 0 to 255. The default value is 128. Returns or sets the standard deviation of the pixels in the image. When an error occurs, please check ImageCoreException. The allowed values are from 0 to 100. 0 means it is a single-color image. The default value is 1. Returns or sets the fill color of the selected area of an image when it is cut, erased, or rotated. It is a value specifying the 32-bit ARGB value. When an error occurs, please check ImageCoreException. The default value is Black. The byte-ordering of the 32-bit ARGB value is AARRGGBB. The most significant byte (MSB), represented by AA, is the alpha component value. The second, third, and fourth bytes, represented by RR, GG, and BB, are the color components red, green, and blue respectively. Defines a class provides functions for loading images in buffer. This event is triggered after images are loaded into the control from a local directory or memory. This event is triggered before each page of an image is loaded into the control from a local directory or memory. Loads a DIB format image from system clipboard into buffer. When an error occurs, please check ImageCoreException. Loads an image into buffer. It supports loading encrypted pdf files. The image to be loaded. When an error occurs, please check ImageCoreException. Loads an image into the buffer. It supports loading encrypted pdf files. The name of the image to be loaded. When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the extension of the FileName. ImageCore supports the following types of image files: Loads image from a byte array with the specified file format. A byte array of the image data. EnumImageFileFormat type, specifies the file format. When an error occurs, please check ImageCoreException. Saves the image of a specified index in buffer to a byte array in the specified file format. Specifies the index of the image in buffer. The index is 0-based. EnumImageFileFormat type, specifies the file format A byte array where the image will be saved. When an error occurs, please check ImageCoreException. Loads an Image into the Dynamic.NET TWAIN. The name of the file to be loaded. It should be the path on the local disk. EnumImageFileFormat type, specifies the file format When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the extension of the FileName. ImageCore supports the following types of image files: Saves the image of a specified index in buffer as a BMP file. The name of the BMP file to be saved. It should be the path on the local disk. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Saves the image of a specified index in buffer as a PNG file. The name of the PNG file to be saved. It should be the path on the local disk. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Saves the image of a specified index in buffer as a JPEG file. The name of the JPEG file to be saved. It should be the path on the local disk. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Saves the image of a specified index in buffer as a TIFF file. The name of the TIFF file to be saved. It should be the path on the local disk. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Saves the images of the specified indices in buffer to a MultiPage TIFF byte array. Specifies the index of image in buffer. The index is 0-based. A byte array where the image will be saved. Appends the images of specified indexes in buffer to the end of an existing tiff. The name of the TIFF file to be appended. It should be the path on the local disk. Specifies a list of indexes of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. Copies the image of a specified index in buffer to clipboard in DIB format. Specifies the index of image in buffer. The index is 0-based. When an error occurs, please check ImageCoreException. CopyToClipboard() makes a copy of the image to the clipboard. If there is no need to leave the image in buffer anymore, please use CutToClipboard() instead. Thus, it will cost less memory especially when the image is large. The copied image is in DIB format. Copies the image data in the specified area to the system clipboard in DIB format. Specifies the index of image in buffer. The index is 0-based. Specifies the x-coordinate of the upper-left corner of the rectangle. Specifies the y-coordinate of the upper-left corner of the rectangle. Specifies the x-coordinate of the lower-right corner of the rectangle. Specifies the y-coordinate of the lower-right corner of the rectangle. When an error occurs, please check ImageCoreException. Returns or sets the quality of the JPEG file. When an error occurs, please check ImageCoreException. The default value of JPEGQuality property is 80. The valid range is 0-100. The higher the JPEGQuality property, the better the JPEG quality and the greater the size of the file. Returns or sets the compression type of TIFF files. To use EnumTiffCompressionType.TIFF_JPEG, you will need DynamicImage dll. Please put DynamicImage.dll/DynamicImagex64.dll in the fully qualified path of the current working directory. When an error occurs, please check ImageCoreException. The default value of JPEGQuality property is 80. The valid range is 0-100. The higher the JPEGQuality property, the better the JPEG quality and the greater the size of the file. Calculates the file size in the specified format of the image specified by index. Specifies the index of image in buffer. The index is 0-based. Specifies the type of an image file. EnumImageFileFormat
Allowed Values Image Type
0 BMP, DIB
1 JPG, JPEG, JPE, JFIF
2 TIF, TIFF
3 PNG
When an error occurs, please check ImageCoreException.
Calculates the file size of the new image resized from the image of a specified index in buffer. Specifies the index of image in buffer. The index is 0-based. specifies the pixel width of the new image. specifies the pixel height of the new image. -1 indicates failure. Other values indicate success. When an error occurs, please check ImageCoreException. Defines a class with the features for the images uploading and downloading. This event is triggered during image uploading or downloading images via HTTP or FTP. Returns or sets if an SSL connection should be used when uploading or downloading images via HTTP. When an error occurs, please check ImageCoreException. The default value is false. Returns or sets the maximum size of all the images can be uploaded. When an error occurs, please check ImageCoreException. The default value of this property is -1. Returns or sets the name of the proxy server. When an error occurs, please check ImageCoreException. Only the name of the proxy serevr is needed. For instance, 192.168.1.100. Returns or sets the port number of the proxy server. When an error occurs, please check ImageCoreException. Returns or sets the user name used to log into the proxy server. When an error occurs, please check ImageCoreException. Returns or sets the password used to log into the proxy server. When an error occurs, please check ImageCoreException. Downloads an image from the FTP server. The name of the FTP server. The name of the file to be downloaded. It should be the relative path of the file on the FTP server. The downloaded file in Byte. When an error occurs, please check ImageCoreException. Uploads an image to the FTP server. The name of the FTP server. The name of the file to be uploaded. It should be the relative path of the file on the FTP server. The image to be uploaded to the server in byte. When an error occurs, please check ImageCoreException. Uploads an image to the FTP server. The name of the FTP server. The name of the file to be uploaded. It should be the relative path of the file on the FTP server. The list of indexes of images to be uploaded to the server in byte. The index is 0-based. The format of the images to be saved on the FTP server. When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the value of the enumImageFileFormat. FTPRemoteFile parameter should include the FTP directory of the file. Write permission of the specified directory is needed for uploading. Returns or sets the password used to log into the FTP server. When an error occurs, please check ImageCoreException. If an "anonymous" user wants to log into a FTP server, please use the default value of FTPUserName property and FTPPassword property. Returns or sets the port number of the FTP server. When an error occurs, please check ImageCoreException. The default FTP port number is 21. Returns or sets the user name used to log into the FTP server. When an error occurs, please check ImageCoreException. If an "anonymous" user wants to log into a FTP server, please use the default value of FTPUserName property and FTPPassword property. Returns or sets whether FTP passive mode is enabled. When an error occurs, please check ImageCoreException. The Default value is true. If it is true, FTP passive mode is enabled. If it is false, FTP passive mode is not enabled. Clears all the web forms which are used for image uploading. When an error occurs, please check ImageCoreException. Sets a text parameter of a web form. The text parameter is passed while uploading images. Sspecifies the name of a text field in web form. Specifies the value of a text field in web form. When an error occurs, please check ImageCoreException. Downloads an image from the HTTP server. The name of the HTTP server.It should be only the name of the HTTP server, without "http://" or "https://".Port number is not needed here. The name of the image to be downloaded. It should be the relative path of the file on the HTTP server. The downloaded image in bytes. When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the extension of the HTTPRemoteFile. ImageCore supports the following types of image files: HTTPRemoteFile parameter should include the HTTP directory of the file. Uploads an image to the HTTP server through HTTP PUT method. The name of the HTTP server.It should be only the name of the HTTP server, without "http://" or "https://".Port number is not needed here. The name of the image to be created on the HTTP server. It should be the relative path of the file on the HTTP server. The image to be uploaded in bytes When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the extension of the HTTPRemoteFile. ImageCore supports the following types of image files: HTTPRemoteFile parameter should include the HTTP directory of the file. Uploads the image of a specified index in buffer to the HTTP server as a specified image format through HTTP PUT method. The name of the HTTP server.It should be only the name of the HTTP server, without "http://" or "https://".Port number is not needed here. The name of the image to be created on the HTTP server. It should be the relative path of the file on the HTTP server. Specifies a list of the indexes of image in buffer. The index is 0-based. The image format of the file to be created on the HTTP server. When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the extension of the ImageFileFormat. HTTPRemoteFile parameter should include the HTTP directory of the file. Write permission of the specified directory is needed for uploading. If there's a file with the same name on the server, the newly uploaded file will replace the old one. Uploads an image to the HTTP server through HTTP POST method. The name of the HTTP server.It should be only the name of the HTTP server, without "http://" or "https://".Port number is not needed here. The specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". The name of the image to be created on the HTTP server. It should be the relative path of the file on the HTTP server. The image to be uploaded in bytes When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the extension of the HTTPRemoteFile. IMPORTANT: ImageCore uses a special way to see if an image is uploaded and processed successfully by server. If the server returns 0 bytes, it indicates success. Otherwise, it means the upload failed. In other words, when the uploaded image is processed successfully, the action page on the server should not return anything, even the "HTML". ImageCore supports the following types of image files: HTTPRemoteFile parameter should include the HTTP directory of the file. Uploads the images of specified indexes in buffer to the HTTP server through HTTP POST method. The name of the HTTP server.It should be only the name of the HTTP server, without "http://" or "https://".Port number is not needed here. The specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". Specifies a list of the indexes of image in buffer. The index is 0-based. The image format of the file to be created on the HTTP server. When an error occurs, please check ImageCoreException. ImageCore processes the image format according to the extension of the HTTPRemoteFile. IMPORTANT: ImageCore uses a special way to see if an image is uploaded and processed successfully by server. If the server returns 0 bytes, it indicates success. Otherwise, it means the upload failed. In other words, when the uploaded image is processed successfully, the action page on the server should not return anything, even the "HTML". HTTPRemoteFile parameter should include the HTTP directory of the file. Specifies the field name of the uploaded image through POST. When an error occurs, please check ImageCoreException. The default value is "RemoteFile". It is used in HTTPUploadThroughPost. Sets or returns the password used to log into the HTTP server. When an error occurs, please check ImageCoreException. Returns or sets the port number of the HTTP server. When an error occurs, please check ImageCoreException. The default HTTP port number is 80. This property is used with IfSSL property. Returns the response string from the HTTP server if an error occurs for HTTPUploadThroughPost() method. This is a runtime, read-only property. When an error occurs, please check ImageCoreException. If HTTPUploadThroughPost() method returns false, please check this property for the response string from the HTTP server. If HTTPUploadThroughPost() method return true, this property will return "". Returns or sets the user name used to log into the HTTP server. When an error occurs, please check ImageCoreException. A class that provides functionality to get images to buffer, process images and output images. Cleans up any resources being used. Defines a class providing functions for managing images in buffer. A class providing functions for processing images in buffer. A class providing functions for loading images into buffer. A class with the features for the images uploading and downloading. TIFF file compression type. Auto mode. Dump mode. CCITT modified Huffman RLE. CCITT Group 3 fax encoding. CCITT T.4 (TIFF 6 name). CCITT Group 4 fax encoding. CCITT T.6 (TIFF 6 name). Lempel Ziv and Welch. Jpeg The method to do interpolation. Image type Native Microsoft format. JPEG format. Tagged Image File Format. An image format standard intended for use on the web, replaces GIF. Graphics Interchange Format. A format that is not supported. The types of annotation. Select an area. Select an existing annotation. Press "Ctrl" to multi-select annotations. Create a text.The annotation type will be set back to 1 once the annotation is completed. Create a line.The annotation type will be set back to 1 once the annotation is completed. Create a rectangle.The annotation type will be set back to 1 once the annotation is completed. Create a ellipse.The annotation type will be set back to 1 once the annotation is completed. Rotate text annotaion Text rotate 90 degrees. Text roate 180 degrees. Text rotate 270 degrees The types of meta data. Annotation matedata. DynamicDotNetTWAIN error code. Successful. Successful. General error. No enough memory to perform the required operation. Source Manager is unable to find the specified Source. Source is connected to maximum supported number of applications. Source or Source Manager reported an error to the user and handled the error. Capability is not supported by Source or the specified operation is not supported by the capability, or capability had dependencies on other capabilities and cannot be operated upon at this time. Unrecognized operation triplet. Data parameter out of supported range. Operation out of expected sequence. Unknown destination in DSM_Entry. Capability is not supported by source. Operation is not supported by the capability. Capability has dependencies on other capabilities and cannot be operated upon at this time. General error. User cancelled the operation. Invalid index. Invalid value. Data parameter out of supported range. BMP format error or not supported. Image format is not supported. Invalid image index. Original image does't exist. The file too big for upload. Handshake exception. Proxy username or password invalid. Protocol request is not passed. Can't connect to remote server. Malformed PASV result: Malformed PASV result (not supported): The image too big for resample. DynamicDotNetTWAIN exception class definition. Initializes a new instance of the ImageCoreException class. Initializes a new instance of the ImageCoreException class with a specified error message. The message that describes the error. Initializes a new instance of the ImageCoreException class with a specified error message and error code. The message that describes the error. The error code. Get and set ImageCore error code. Gets a message that describes the current exception. Gets a string representation of the frames on the call stack at the time the current exception was thrown. Base class for image rotation filters. The abstract class is the base class for all filters, which implement rotating algorithms. Rotation angle. Keep image size or not. Fill color. Rotation angle, [0, 360]. Keep image size or not. The property determines if source image's size will be kept as it is or not. If the value is set to false, then the new image will have new dimension according to rotation angle. If the valus is set to true, then the new image will have the same size, which means that some parts of the image may be clipped because of rotation. Fill color. The fill color is used to fill areas of destination image, which don't have corresponsing pixels in source image. Initializes a new instance of the class. Rotation angle. This constructor sets property to false. Initializes a new instance of the class. Rotation angle. Keep image size or not. Calculates new image size. Source image data. New image size - size of the destination image. Base class for filters, which may produce new image of different size as a result of image processing. The abstract class is the base class for all filters, which do image processing creating new image of the size, which may differ from the size of source image. Filters based on this class cannot be applied directly to the source image, which is kept unchanged. The base class itself does not define supported pixel formats of source image and resulting pixel formats of destination image. Filters inheriting from this base class, should specify supported pixel formats and their transformations overriding abstract property. Format translations dictionary. The dictionary defines, which pixel formats are supported for source images and which pixel format will be used for resulting image. See for more information. Apply filter to an image. Source image to apply filter to. Returns filter's result obtained by applying the filter to the source image. The method keeps the source image unchanged and returns the the result of image processing filter as new image. Unsupported pixel format of the source image. Apply filter to an image. Source image to apply filter to. Returns filter's result obtained by applying the filter to the source image. The filter accepts bitmap data as input and returns the result of image processing filter as new image. The source image data are kept unchanged. Unsupported pixel format of the source image. Apply filter to an image in unmanaged memory. Source image in unmanaged memory to apply filter to. Returns filter's result obtained by applying the filter to the source image. The method keeps the source image unchanged and returns the the result of image processing filter as new image. Unsupported pixel format of the source image. Apply filter to an image in unmanaged memory. Source image in unmanaged memory to apply filter to. Destination image in unmanaged memory to put result into. The method keeps the source image unchanged and puts result of image processing into destination image. The destination image must have the same width and height as source image. Also destination image must have pixel format, which is expected by particular filter (see property for information about pixel format conversions). Unsupported pixel format of the source image. Incorrect destination pixel format. Destination image has wrong width and/or height. Calculates new image size. Source image data. New image size - size of the destination image. Process the filter on the specified image. Source image data. Destination image data. Summary description for Grayscale. Process the filter on the specified image. Source image data. Destination image data. Index of red component. Index of green component. Index of blue component. Index of alpha component for ARGB images. Red component. Green component. Blue component. Color value of the class. Initializes a new instance of the class. Initializes a new instance of the class. Red component. Green component. Blue component. Initializes a new instance of the class. Initialize from specified color. Rotate image using bicubic interpolation. The class implements image rotation filter using bicubic interpolation algorithm. Rotation is performed in counterclockwise direction. The filter accepts 8 bpp grayscale images and 24 bpp color images for processing. Sample usage: // create filter - rotate for 30 degrees keeping original image size RotateBicubic filter = new RotateBicubic( 30, true ); // apply the filter Bitmap newImage = filter.Apply( image ); Initial image: Result image: Format translations dictionary. Initializes a new instance of the class. Rotation angle. This constructor sets property to . Initializes a new instance of the class. Rotation angle. Keep image size or not. Process the filter on the specified image. Source image data. Destination image data. Bicubic kernel. X value. Bicubic cooefficient. Rotate image using bilinear interpolation. Rotation is performed in counterclockwise direction. The class implements image rotation filter using bilinear interpolation algorithm. The filter accepts 8 bpp grayscale images and 24 bpp color images for processing. Sample usage: // create filter - rotate for 30 degrees keeping original image size RotateBilinear filter = new RotateBilinear( 30, true ); // apply the filter Bitmap newImage = filter.Apply( image ); Initial image: Result image: Format translations dictionary. Initializes a new instance of the class. Rotation angle. This constructor sets property to . Initializes a new instance of the class. Rotation angle. Keep image size or not. Process the filter on the specified image. Source image data. Destination image data. Rotate image using nearest neighbor algorithm. The class implements image rotation filter using nearest neighbor algorithm, which does not assume any interpolation. Rotation is performed in counterclockwise direction. The filter accepts 8 bpp grayscale images and 24 bpp color images for processing. Sample usage: // create filter - rotate for 30 degrees keeping original image size RotateNearestNeighbor filter = new RotateNearestNeighbor( 30, true ); // apply the filter Bitmap newImage = filter.Apply( image ); Initial image: Result image: Format translations dictionary. Initializes a new instance of the class. Rotation angle. This constructor sets property to . Initializes a new instance of the class. Rotation angle. Keep image size or not. Process the filter on the specified image. Source image data. Destination image data. Threshold value. Initializes a new instance of the class. Threshold value. Process the filter on the specified image. Source image data. Image rectangle for processing by the filter. Summary description for UnmanagedImage. Pointer to image data in unmanaged memory. Image width in pixels. Image height in pixels. Image stride (line size in bytes). Image pixel format. Initializes a new instance of the class. Pointer to image data in unmanaged memory. Image width in pixels. Image height in pixels. Image stride (line size in bytes). Image pixel format. Using this constructor, make sure all specified image attributes are correct and correspond to unmanaged memory buffer. If some attributes are specified incorrectly, this may lead to exceptions working with the unmanaged memory. Initializes a new instance of the class. Locked bitmap data. Destroys the instance of the class. Dispose the object. Frees unmanaged resources used by the object. The object becomes unusable after that. The method needs to be called only in the case if unmanaged image was allocated using method. In the case if the class instance was created using constructor, this method does not free unmanaged memory. Dispose the object. Indicates if disposing was initiated manually. Clone the unmanaged images. Returns clone of the unmanaged image. The method does complete cloning of the object. Copy unmanaged image. Destination image to copy this image to. The method copies current unmanaged image to the specified image. Size and pixel format of the destination image must be exactly the same. Destination image has different size or pixel format. Allocate new image in unmanaged memory. Image width. Image height. Image pixel format. Return image allocated in unmanaged memory. Allocate new image with specified attributes in unmanaged memory. The method supports only Format8bppIndexed, Format16bppGrayScale, Format24bppRgb, Format32bppRgb, Format32bppArgb, Format48bppRgb and Format64bppArgb pixel formats. In the case if Format8bppIndexed format is specified, pallete is not not created for the image (supposed that it is 8 bpp grayscale image). Unsupported pixel format was specified. Invalid image size was specified. Create managed image from the unmanaged. Returns managed copy of the unmanaged image. The method creates a managed copy of the unmanaged image with the same size and pixel format. Set pallete of the 8 bpp indexed image to grayscale. Image to initialize. The method initializes palette of Format8bppIndexed image with 256 gradients of gray color. Provided image is not 8 bpp indexed image. Create unmanaged image from the specified managed image. Source managed image. Returns new unmanaged image, which is a copy of source managed image. The method creates an exact copy of specified managed image, but allocated in unmanaged memory. Unsupported pixel format of source image. Create unmanaged image from the specified managed image. Source locked image data. Returns new unmanaged image, which is a copy of source managed image. The method creates an exact copy of specified managed image, but allocated in unmanaged memory. Unsupported pixel format of source image. Represents a non-generic collection of objects that can be individually accessed by index. Gets the number of elements actually contained in the list. When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. Gets or sets the element at the specified index. The zero-based index of the element to get or set. When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. Inserts an element into the list at the specified index. The zero-based index at which value should be inserted. The value to be inserted. true indicates success. false indicates failure. When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. Adds an int value to the end of the list. The value to be added to the end of the list. The list index at which the value has been added. -1 indicates failure. When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. Removes the element at the specified index of the list. The zero-based index of the element to be removed. true indicates success. false indicates failure. When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. Removes the first occurrence of a specific value from the list. The value to be removed from the list. true indicates success. false indicates failure. When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. Returns an enumerator for the entire list. An IEnumerator for the entire list. When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. Provides the cancel interface for event OnInternetTransferPercentage. Occurs when uploading or downloading images via HTTP or FTP. Specifies upload or download progress. Specifies if canncel upload or download. If you want to cancel upload or download, please set its member Cancelled value as true. This event is triggered when user uploads or downloads images via HTTP or FTP. Occurs after image Update. Occurs after image remove. Occurs after image add. Occurs after image moved. /* No DAT needed. Describes version of software currently running. */ Memory handle define /* Fixed point structure type. */ /* DAT_EVENT. For passing events down from the application to the DS. */ /* No DAT. Defines a frame rectangle in ICAP_UNITS coordinates. */ /* TWON_ONEVALUE. Container for one value. */ /* No DAT needed. Used to manage memory buffers. */ /* No DAT needed. */ Summary description for FtpClient. 构造函数 服务器 用户名 密码 端口号 是否被动传输 代理服务器名 代理服务器端口号 代理服务的用户 代理服务的密码 Remote server port. Typically TCP 21 Gets and Sets the name of the FTP server. Gets and Sets the username. Gets and Set the password. Download a remote file to a local file name which can include a path, and set the resume flag. The local file name will be created or overwritten, but the path must exist. Upload a file and set the resume flag. Login to the remote server. Close the FTP connection. Return the size of a file. Delete a file from the remote FTP server. sendCommand when doing data transfers, we need to open another socket for it. when doing data transfers, we need to open another socket for it. Connected socket Always release those sockets. 协议握手 代理服务的用户名密码验证 格式为:ox01| 用户名长度|用户名|密码长度|密码 协议请求 Summary description for HttpClient. Gets and Sets the username. Gets and Set the password. Remote server port. Typically TCP 21 Gets and Sets the name of the FTP server. Gets and Sets ifssl. Dispose the object. Frees unmanaged resources used by the object. The object becomes unusable after that. The method needs to be called only in the case if unmanaged image was allocated using method. In the case if the class instance was created using constructor, this method does not free unmanaged memory. Dispose the object. Indicates if disposing was initiated manually. ** Summary description for ConstStringHelper. Implements the IIndexList interface using an array whose size is dynamically increased as required. Summary description for StringArray. Summary description for Util. Clone image. Source image. Return clone of the source image. The original Bitmap.Clone() does not produce the desired result - it does not create an actual clone (it does not create a copy of the image). That is why this method was implemented to provide the functionality. Clone image. Source image data. Clones image from source image data. The message does not clone pallete in the case if the source image has indexed pixel format. Clone image. Source image. Pixel format of result image. Returns clone of the source image with specified pixel format. The original Bitmap.Clone() does not produce the desired result - it does not create a clone with specified pixel format. More of it, the original method does not create an actual clone - it does not create a copy of the image. That is why this method was implemented to provide the functionality. Copy block of unmanaged memory. Destination pointer. Source pointer. Memory block's length to copy. Return's value of - pointer to destination. This function is required because of the fact that .NET does not provide any way to copy unmanaged blocks, but provides only methods to copy from unmanaged memory to managed memory and vise versa.