scViewerXversion 6.20has been released. New features and improvements: New methods for merging individual files into a...
scViewerX version 6.20 has been released.
New features and improvements:
- New methods for merging individual files into a new multi-page TIFF file.
- Now handles text files internally instead of using the office format converters.
- Added rounded rectangle markup element.
- New methods:
- CleanupImage - Remove noise from a raster page.
- Crop - Crop a page into a smaller drawing/image.
- ExportPage - Export a single page to a new file.
- GetBookmarkName - Return name of a bookmark.
- GetSelectedAreaImage - Return image created by mouse action 15.
- GetPageSize - Return dimensions of a page in millimeters.
- GotoBookmark - Display page and location for the selected bookmark.
- MarkupPaste - Paste a previously copied markup element from clipboard.
- RotateImage - Rotate a page in a raster file.
- ScanToFile - Scan to file using a WIA compatible scanner.
- SetTXTParams - Setup font and page size for loaded text files.
- TIFFMergeInit - Start merging files into a new multi-page TIFF file.
- TIFFMergeAddFile - Add a file to the currently merged TIFF file.
- TIFFMergeAddImage - Add an image as a page to the currently merged TIFF file.
- TIFFMergeClose - Finish the currently merged TIFF file and output data.
- Changes to existing methods:
- GetPageThumbnail2 - Now uses Flags parameter, value 1: Add border.
- GetPropertyLong - Added ID 11 to return an elements z-level.
- PrintMultiPageOnSheet - Added option to include markup (or not).
- SetMouseAction - Added value 14 to pick a drawing line and create a markup measurement path with the same coordinates.
- SetMouseAction - Added value 15 to select an area and create a bitmap. The bitmap can be obtained with GetSelectedAreaImage.
- SetMouseAction - Added value 16 to select an area and crop the current page to match this area. Everything outside the crop area will be clipped.
- SetConfigValue - Added value 44 to set resolution to use for printing PDF files.
- SetConfigValue - Added value 45 to include all spaces during PDF extraction.
- SetConfigValue - Added value 46 to enable z-level for markup elements.
- SetConfigValue - Added value 47 to allow auto rotation of documents if that fits better during multipage printing.
- SetConfigValue - Added value 48 to set font height for text file viewing.
- SetConfigValue - Added value 49 to set compression method to use for monochrome images in exported PDF files.
- SetConfigValue - Added value 50 to set compression method to use for color images in exported PDF files.
- SetConfigValue - Added value 51 to set compression method to use for true color images in exported PDF files.
- SetConfigValue - Added value 52 to control if GetPageSize should return size in milimeters or inches.
- SetConfigValue - Added value 53 to set DWF exporter resolution.
- SetPropertyLong - Added ID 11 to set an elements z-level.
- ActivePaperBin - Set or get the active paper bin to use for next print job.
- HaveScanner - Returns non-zero if a WIA compatible scanner is detected.
- MarkupCanPaste - Returns non-zero if a markup element is found in clipboard.
- NumBookmarks - Return number of bookmarks in the currently loaded file.
- PaperBins - Return number of paper bins for the currently selected printer.
- PaperBinName - Returns a name of a paper bin (source).
- PrintPageRange - Set a range of pages to print.
- New event:
- ActionComplete - Called when a mouse action has been completed.
Bug Fixes:
- 1027: Added support for TIFF files compressed with JPEG lossless Huffman.
- 1022: PDF file was displayed wrong when zoomed in (missing content).
- 1021: Running ImageCleanup on 8-bit images gave a black only image.
- 1019: Missing image in CGM file from customer.
- 1013: Some pages in a PDF file caused exception error.
- 1012: Added support for 64-bit PNG files.
- 1011: Two PDF files caused an exception error.
- 1010: PDF file caused an exception error.
- MouseDown event was not fired in Edit mode.
- DrawToDC did render all PDF files without antialiasing, even if the device was not a printer.
- MarkupSelectedHandle did sometimes return an invalid handle.
- Markup lock option was lost if you set it in the NewElement event handler after creating a new markup with the MarkupCreateFromXML method.
- Markup freehand element could not be created using the MarkupCreateFromXML or MarkupCreateFromXMLEx methods.
- Fixed a crash that may occur if an application had several instances of ScViewerX active.
- CopyToClipboard did sometimes fail for PDF files.
- Line point edit of a measurement line could cause a crash.
- Several other minor fixes and changes.
If you want to use mix 32-bit and 64-bit in your project(s), you will need to download and install both.