1 Wang Image Thumbnail Control 2 Wang Image Thumbnail Property Page 101 General 102 Match displayed image 103 Maintain current 104 Unconstrained 105 Letter ( 8.5 x 11 ) 85x110 106 Legal ( 8.5 x 14 ) 85x140 107 Letter landscape ( 11 x 8.5 ) 110x85 108 Legal landscape ( 14 x 8.5 ) 140x85 109 Executive ( 7.25 x 10 ) 145x200 110 A4 ( 210 x 297) 70x99 111 VGA Monitor 64x48 112 Square 100x100 113 **Reserved** Thumbsize 114 **Reserved** Thumbsize 115 **Reserved** Thumbsize 116 **Reserved** Thumbsize 117 **Reserved** Thumbsize 118 **Reserved** Thumbsize 119 **Reserved** Thumbsize 120 **Reserved** Thumbsize 121 **Reserved** Thumbsize 122 **Reserved** 123 # 124 * 147 Set 'Image' property 148 ThumbWidth must be between 50 and 500 (pixels). 149 ThumbHeight must be between 50 and 500 (pixels). 150 ScrollDirection must be either 0 (Horizontal) or 1 (Vertical). 151 ThumbCaptionStyle must be either 0 (None), 1 (Simple), 2 (Simple with annotation indicator), 3 (Caption) or 4 (Caption with annotation indicator). 152 ThumbCaptionColor must be a valid color. 153 The value of the index of the ThumbSelected property must be between 1 and the value of the ThumbCount property (inclusive). 154 HighlightColor must be a valid color. 155 ThumbBackColor must be a valid color. 156 MousePointer must be 99 (Custom) or in the range 0 to 15 (inclusive). 157 BackColor must be a valid color. 158 BorderStyle must be either 0 (No Border) or 1 (Fixed Single). 159 The Image property must be set prior to calling SelectAllThumbs. 160 The Image property must be set prior to calling DeselectAllThumbs. 161 The Image property must be set prior to calling ClearThumbs. 162 The data type of the PageNumber parameter must be either Integer (2 bytes) or Long (4 bytes). 163 The Image property must be set prior to calling InsertThumbs. 164 The data type of the InsertBeforeThumb parameter must be either Integer (2 bytes) or Long (4 bytes). 165 The data type of the InsertCount parameter must be either Integer (2 bytes) or Long (4 bytes). 166 Adding InsertCount thumbnails is inconsistent with the number of pages that are in the Image File. 167 The InsertThumbs operation was not successful. 168 The Image property must be set prior to calling DeleteThumbs. 169 The data type of the DeleteCount parameter must be either Integer (2 bytes) or Long (4 bytes). 170 DeleteAt must be greater or equal to 1. 171 DeleteCount must be greater or equal to 1. 172 DeleteAt combined with DeleteCount cannot specify a range higher than the current ThumbCount. 173 Deleting DeleteCount thumbnails is inconsistent with the number of pages that are in the Image File. 174 The DeleteThumbs operation was not successful. 175 The Image property must be set prior to calling DisplayThumbs. 176 The data type of the ThumbNumber parameter must be either Integer (2 bytes) or Long (4 bytes). 177 The value of the ThumbNumber parameter must be between 1 and ThumbCount (inclusive). 178 The data type of the Option parameter must be integer (2 bytes). 179 The value of the Option parameter must be either 0 (Top or Left), 1 (Middle), or 2 (Bottom or Right). 180 The Image property must be set prior to calling GenerateThumbs. 181 The value of the PageNumber parameter must be between 1 and ThumbCount (inclusive). 182 The value of the PageNumber parameter must be between 1 and ThumbCount (inclusive). 183 The value of the Option parameter must be either 0 (Generate If Needed) or 1 (Generate Now). 184 Unable to generate thumbnail of page %1. 185 Unable to generate/save thumbnail of page %1. 186 Unable to generate/save thumbnail (with burned-in annotations) of page %1. 187 The value of the ThumbCount parameter must be greater than zero. 188 The value of the ThumbCount parameter, in conjunction with the current thumbnail size (ThumbWidth and ThumbHeight), will generate an invalid size (too large). Specify a smaller ThumbCount, or make the thumbnails smaller. 189 The value of the ThumbCount parameter must be gerater than zero. 190 The value of the ThumbCount parameter, in conjunction with the current thumbnail size (ThumbWidth and ThumbHeight), will generate an invalid size (too large). Specify a smaller ThumbCount or make the thumbnails smaller. 191 The value of the ScrollDirectionThumbCount parameter must be greater than zero. 192 The value of the NonScrollDirectionThumbCount parameter must be gerater than zero. 193 The value of the NonScrollDirectionSize parameter must be between the values that are obtained from calls to the GetMinimumSize and GetMaximumSize methods. 194 The value of the ThumbCount parameter, in conjunction with the current thumbnail size (ThumbWidth and ThumbHeight), will generate an invalid size (too large). Specify a smaller ThumbCount or make the thumbnails smaller. 195 The value of the Direction parameter must be either 0 (Forward) or 1 (Backward). 196 The value of the Amount parameter must be either 0 (Screen) or 1 (Unit). 197 The data type of the Image parameter must be String. 198 The data type of the Page parameter must be Integer (2 bytes) or Long (4 bytes). 199 The Image/Page specified cannot be displayed. 200 The position specified by the XPosition and YPosition parameters must be within the control's window. 201 The value of the InsertBeforeThumb parameter must be between 1 and ThumbCount+1 (inclusive). 202 The Thumbnail Control was unable to create a required window. 203 0 - Horizontal 204 1 - Vertical 205 0 - None 206 1 - Simple 207 2 - Simple with annotation 208 3 - Caption 209 4 - Caption with annotation 210 0 - Default 211 1 - Arrow 212 2 - Cross 213 3 - I-Beam 214 4 - Icon 215 5 - Size 216 6 - Size - NE SW 217 7 - Size - N S 218 8 - Size - NW SE 219 9 - Size - W E 220 10 - Up Arrow 221 11 - Hourglass 222 12 - No Drop 223 13 - Arrow and Hourglass 224 14 - Arrow and Question 225 15 - Size all 226 99 - Custom 227 0 - None 228 1 - Fixed single 229 The BorderStyle property can be set only at design time.