Rastermaster® SDK Rastermaster Activex V18.6 Programmer’S Reference Guide
Total Page:16
File Type:pdf, Size:1020Kb
RasterMaster® SDK RasterMaster ActiveX V18.6 Programmer’s Reference Guide Note: An online version of this manual contains information on the latest updates to RasterMaster. To find the most recent version of this manual, please visit the online version at www.rastermaster.com or download the most recent version from our website at www.snowbound.com/support/manuals.html. DOC-0121-07 Copyright Information While Snowbound® Software believes the information included in this publication is correct as of the publication date, information in this document is subject to change without notice. UNLESS EXPRESSLY SET FORTH IN A WRITTEN AGREEMENT SIGNED BY AN AUTHORIZED REPRESENTATIVE OF SNOWBOUND SOFTWARE CORPORATION MAKES NO WARRANTY OR REPRESENTATION OF ANY KIND WITH RESPECT TO THE INFORMATION CONTAINED HEREIN, INCLUDING WARRANTY OF MERCHANTABILITY AND FITNESS FOR A PURPOSE. Snowbound Software Corporation assumes no responsibility or obligation of any kind for any errors contained herein or in connection with the furnishing, performance, or use of this document. Software described in Snowbound documents (a) is the property of Snowbound Software Corporation or the third party, (b) isfurnished only under license, and (c) may be copied or used only as expressly permitted under the terms of the license. All contents of this manual are copyrighted by Snowbound Software Corporation. The information contained herein is the exclusive property of Snowbound Software Corporation and shall not be copied, transferred, photocopied, translated on paper, film, electronic media, or computer-readable form, or otherwise reproduced in any way, without the express written permission of Snowbound Software Corporation. Microsoft, MS, MS-DOS, Windows, Windows NT, and SQL Server are either trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Adobe, the Adobe logo, Acrobat, and the Acrobat logo are trademarks of Adobe Systems Incorporated. Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. iText, the Initial Developers of the Original Code are Bruno Lowagie and Paolo Soares. Portions created by Bruno Lowagie are Copyright (C) 1999-2009 by Bruno Lowagie. Kakadu JPEG2000©, is copyrighted by Dr. David Taubman, and is proprietary to NewSouth Innovations, Pty. Ltd, Australia. Aspose™, Aspose.Cells© (copyrighted 2003), Aspose.Words© (copyrighted 2003), and Aspose.Slides© (copyrighted 2004), are all proprietary to Aspose Software, Pty. Ltd, Australia. United States Government Restricted Rights The Software is provided with RESTRICTED RIGHTS. Use, duplication or disclosure by the United States Government is subject to restrictions as set forth under subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer Software clause of DFARS 252.227 –19 or subparagraphs (c)(i) and (2) of the Commercial Computer Software-Restricted Rights at 48 CFR 52.227 – 19 as applicable. The Manufacturer is Snowbound Software Corporation, 309 Waverley Oaks Rd., Suite 401, Waltham, MA 02452, USA. All other trademarks and registered trademarks are the property of their respective holders. Manual Title: Snowbound RasterMaster® for ActiveX Platform Programmer’s Reference Guide Part Number:DOC-0121-07 Revision: 7 RasterMaster for the ActiveX Platform Release Number: 18.6 RasterMaster® SDK Release Number: 18.6 Printing Date: March 2014 Published by Snowbound Software Corporation. 309 Waverley Oaks Road Suite 401 Waltham, MA 02452 USA phone: 617-607-2000 fax: 617-607-2002 ©1996 - 2014 by Snowbound Software Corporation. All rights reserved. Table of Contents Chapter 1 - Additions and Improvements 24 Version 18.6 Additions and Improvements 24 New Features 24 Chapter 2 - Quick Start 25 Getting Started 25 Quickly Getting Started with the Format Conversion Sample 25 Viewing Samples Packaged with the Library 26 Sample Directory 26 Image Property 28 System Overview 29 Determining System Requirements 29 Determining Memory Requirements 31 Chapter 3 - Custom Control Properties 33 Properties Overview 33 About Property 33 ActiveImage Property 33 ActivePage Property 34 Alias Property 34 AnimateImage Property 35 AsciiBold Property 36 AsciiCharsPerLine Property 37 AsciiFont Property 37 iii AsciiItalic Property 38 AsciiLinesPerPage Property 39 AsciiMarginBottom, AsciiMarginTop Property 40 AsciiMarginLeft, AsciiMarginRight Property 40 AsciiPageHeight, AsciiPageWidth Property 41 AsciiPointSize Property 42 AsciiTab Property 43 AsciiXdpi, AsciiYdpi Property 43 AspectRatio Property 44 AutoColor Property 45 AutoCrop Property 46 AutoOrient Property 46 AutoRedraw Property 47 AutoReduce Property 48 AutoResizeX, AutoResizeY Property 48 AutoSize Property 49 BackColor Property 50 BayerColor Property 51 BayerMono Property 51 BlankControl Property 52 BorderStyle Property 53 Brightness Property 53 ClearImage Property 54 CmykToRGB Property 55 iv Contrast Property 55 Copy Property 56 CropXpos, CropYpos Property 57 CropXsize, CropYsize Property 58 DecompressScreen Property 59 DelImage Property 60 Deskew Property 60 Despeckle Property 61 Dialation Property 62 DibToRuns Property 62 DiffusionColor Property 63 DiffusionMono Property 63 DitherMode Property 64 DragIcon Property 65 DragMode Property 65 DrawMode Property 66 EdgeDetect Property 67 Effect Property 68 Encrypt Property 69 ErrorStr Property 69 ExtractBuff Property 70 ExtractText Property 70 Fax Property 71 FaxOffset Property 72 v FaxType Property 72 FaxXsize, FaxYsize Property 73 FileType Property 73 FileTypeName Property 74 FileTypeStr Property 74 FillColor Property 74 FillOrder Property 75 FitToHeight Property 75 FitToWidth Property 76 Filter Property 77 FlipX Property 77 FlipY Property 78 Gamma Property 78 GetBuffer Property 79 GetBytes Property 79 GetFileInfo Property 80 GetYpos Property 80 Gray Property 81 HalftoneMono Property 81 Height, Width Property 82 HelpContextID Property 82 HistoGramEqualize Property 83 HorzEdgeDetect Property 83 Image Property 84 vi ImageAccel Property 85 ImageAccelRot Property 86 ImageBitspix Property 86 ImageDate Property 86 ImageDib Property 87 ImageError Property 87 ImageHeight, ImageWidth Property 88 ImageName Property 89 ImagePosX, ImagePosY Property 89 ImageXdpi, ImageYdpi Property 90 Index Property 90 Interp Property 91 Invert Property 91 IsolatePoints Property 92 JpegInterleave Property 93 Laplacian Property 94 Left Property 94 MedianCut Property 95 MemLoad Property 95 MemSave Property 96 MergeMem Property 96 Mergename Property 97 MergeXpos, MergeYpos Property 98 MergeXsize, MergeYsize Property 98 vii Name Property 99 Neg45EdgeDetect Property 99 OctreeBpp Property 100 OctreeColors Property 101 OctreePal Property 102 OctreeStart Property 103 Orientation Property 104 Overlay Property 104 Page Property 105 Pages Property 105 Palette Property 106 PanWindow Property 107 Paste Property 107 PDFBitsPerPixel Property 108 PdfDpi Property 108 PdfXPageSize Property 108 PdfYPageSize Property 109 Picture Property 109 PixelValue Property 110 PixelXpos/PixelYpos Property 110 Popularity Property 111 Pos45EdgeDetect Property 111 PrintFast Property 112 PrintImage Property 113 viii PrintSize Property 114 PrintXs, PrintYs Property 115 PrintXsize, PrintYsize Property 115 Promote24, Promote8 Property 116 PutBuffer Property 117 PutBytes Property 117 PutYpos Property 117 Redraw Property 118 Resize Property 119 ResizeHeight, ResizeWidth Property 119 RGBToCmyk Property 120 RobertsCross Property 120 Rotate Property 121 RotateScreen Property 122 RunsToDib Property 123 Save Property 123 SaveFormat Property 124 SaveQuality Property 124 ScanAcquire Property 125 ScanAcquireFeeder Property 125 ScanBits Property 126 ScanBottom, ScanLeft, ScanRight, ScanTop Property 127 ScanCap Property 127 ScanCapGet Property 128 ix ScanCapValue Property 128 ScanCloseFeeder Property 128 ScanDuplex Property 129 ScanFast Property 129 ScanHres, ScanVres Property 130 ScanOpenSource Property 130 ScanPages Property 131 ScanSetup Property 131 ScrollBars Property 132 Select Property - VBXSelectflag Property - ActiveX 133 SetFormat Property 134 Sharpness Property 134 Showui Property 135 SizeControl Property 136 Status Property 137 TabIndex Property 137 TabStop Property 138 TagString/TagValue Property 138 Tag Property 139 TagtoRead Property 139 Thresh Property 139 TiledImage Property 140 Top Property 140 TranspColor Property 140 x TSCase Property 141 TSEnable Property 141 TSstring Property 142 UnSetFormat Property 142 UseDDBs Property 142 UseHdib Property 143 Version Property 144 VertEdgeDetect Property 144 Visible Property 145 WindowLevel Property 145 WhatsThisHelpID Property 146 WipeDelay Property 146 Zoom Property 147 ZoomBottom, ZoomLeft, ZoomRight, ZoomTop Property 148 Chapter 4 - AFP Font Mapping Property 150 AFP Font Mapping 150 Format of Font Mapping Data 150 FontMapPath Property 151 Chapter 5 - Properties by Category 152 Importing, Loading, Displaying and Saving Images Properties 152 ASCII Import Properties 153 Color Reduction Properties 153 Image Processing and Manipulation Function Properties 153 Sobel Image Processing Properties 154 xi Status And Informational Properties 154 Printing Properties 154 Gray Scale Images 155 PrintFast 155 PrintImage for Printing Bitmaps 155 Printing Large Documents 155 Scanning Properties 156 Steps for Scanning 156 Chapter 6 - Saving and Reading Multi-page Images 158 Multi-page Images 158 Supported Multi-page Formats 158 Decompressing a Multi-page Image 158 Determining Multi-page Page Count