Miscellaneous Examples (Visual Basic)

You can test any of the following examples by adding a command button to one of the previous lessons in the tutorial, and pasting the sample code in the Click procedure.

In most cases, you can add the button after the first lesson Loading and Displaying an Image. In cases where you need to zoom in or zoom out, you must first finish Zooming Out and Zooming In.


AboutBox example for Visual Basic

AddBitmaps example for Visual Basic

AddBorder example for Visual Basic

AddFrame example for Visual Basic

AddNoise example for Visual Basic

AlphaBlend example for Visual Basic

Animate Event example for Visual Basic

AnimationEnable example for Visual Basic

AnimationPause example for Visual Basic

AnnAutoDialogFontSize example for Visual Basic

AnnAutoDrawEnable example for Visual Basic

AnnAutomation Property example for Visual Basic

AnnAutoMenuEnable example for Visual Basic

AnnAutoResize example for Visual Basic

AnnAutoRotate example for Visual Basic

AnnBoundingRect... example for Visual Basic

AnnChange Event example for Visual Basic

AnnDataPath example for Visual Basic

AnnDeletePage example for Visual Basic

AnnDeletePageArray example for Visual Basic

AnnDeletePageMemory example for Visual Basic

AnnDestroy example for Visual Basic

AnnEnumerate example for Visual Basic

AnnGetContainer example for Visual Basic

AnnGetGrouping example for Visual Basic

AnnGetNameOffsetX example for Visual Basic

AnnGetNameRestrict example for Visual Basic

AnnGetProtractorOptions example for Visual Basic

AnnHitTest example for Visual Basic

AnnGetHyperlinkParam example for Visual Basic

AnnGetHyperlinkString example for Visual Basic

AnnGetHyperlinkType example for Visual Basic

AnnGetObjectFromTag example for Visual Basic

AnnGetPoint... example for Visual Basic

AnnGetRgnHandle example for Visual Basic

AnnGetScalarX example for Visual Basic

AnnGetSelectList example for Visual Basic

AnnGroup example for Visual Basic

AnnHyperlinkMenuEnable example for Visual Basic

AnnInsert example for Visual Basic

AnnLoadArray example for Visual Basic

AnnLock example for Visual Basic

AnnLocked example for Visual Basic

AnnMenu example for Visual Basic

AnnMouseDown example for Visual Basic

AnnMove example for Visual Basic

AnnNameBoundingRectLeft example for Visual Basic

AnnNameRectLeft example for Visual Basic

Annotation Colors example for Visual Basic

AnnRectLeft example for Visual Basic

AnnRotate example for Visual Basic

AnnSaveArray example for Visual Basic

AnnSaveMemory example for Visual Basic

AnnSaveOffset example for Visual Basic

AnnSaveTag example for Visual Basic

AnnSelect example for Visual Basic

AnnSelectRect example for Visual Basic

AnnSetAutoMenuItemEnable example for Visual Basic

AnnSetAutoText example for Visual Basic

AnnSetGrouping example for Visual Basic

AnnSetHyperlinkMsg example for Visual Basic

AnnSetMetafile example for Visual Basic

AnnSetPolyFillMode example for Visual Basic

AnnSetROP2 example for Visual Basic

AnnSetSecondaryBitmap example for Visual Basic

AnnSetUnit example for Visual Basic

AnnSetUser example for Visual Basic

AnnSetWnd example for Visual Basic

AnnShowLockedIcon example for Visual Basic

AnnToolChecked example for Visual Basic

AnnToolDestroy example for Visual Basic

AnnUndo example for Visual Basic

AnnUndoDepth example for Visual Basic

AnnUndoEnable example for Visual Basic

AnnUngroup example for Visual Basic

AnnUnlock example for Visual Basic

AnnUnlocked example for Visual Basic

AnnUnrealize example for Visual Basic

AntiAlias example for Visual Basic

Appearance example for Visual Basic

AutoAnimate example for Visual Basic

AutoPan example for Visual Basic

AutoSize example for Visual Basic

AutoTrim example for Visual Basic

Average example for Visual Basic

BackColor example for Visual Basic

BackErase example for Visual Basic

BalanceColors example for Visual Basic

BinaryFilter example for Visual Basic

BitmapAlpha example for Visual Basic

BitmapCompression example for Visual Basic

BitmapDataPath example for Visual Basic

BitmapDataPathClosed example for Visual Basic

BitmapDpi example for Visual Basic

BitmapToClient example for Visual Basic

BitmapXres and BitmapYres example for Visual Basic

BitonalScaling example for Visual Basic

BorderRemove example for Visual Basic

BorderStyle example for Visual Basic

ButtonColumns example for Visual Basic

ButtonMenuTool example for Visual Basic

ButtonRows example for Visual Basic

ButtonVisible example for Visual Basic

Capture example for Visual Basic

CenterImage example for Visual Basic

Change example for Visual Basic

Click and MouseIcon example for Visual Basic

ClientToBitmap example for Visual Basic

ColorRes example for Visual Basic

ColorResList example for Visual Basic

Combine example for Visual Basic

CombineBitmapWarp example for Visual Basic

CombineExt example for Visual Basic

Comment example for Visual Basic

ContourFilter example for Visual Basic

Contrast example for Visual Basic

ConvertToColoredGray example for Visual Basic

Create Bitmap, Size, and Combine example for Visual Basic

Create example for Visual Basic

CreateMarkers example for Visual Basic

CreateUserBitmap example for Visual Basic

CurveToBezier example for Visual Basic

dbCan... example for Visual Basic

DblClick example for Visual Basic

DDB example for Visual Basic

DeleteBitmapListItems example for Visual Basic

DeletePage example for Visual Basic

Deskew example for Visual Basic

Deskew example for Visual Basic

Despeckle example for Visual Basic

DIB example for Visual Basic

DocCleanBitmap example for Visual Basic

DocCleanSuccess example for Visual Basic

DoubleBuffer example for Visual Basic

DrawShape example for Visual Basic

DrawText example for Visual Basic

Dst... example for Visual Basic

EdgeDetector example for Visual Basic

Emboss example for Visual Basic

EnableFastRender example for Visual Basic

EnableMethodErrors example for Visual Basic

EnablePaint example for Visual Basic

EnableZoomInRect example for Visual Basic

Exif example for Visual Basic

FastRotate example for Visual Basic

FeatherAlphaBlend example for Visual Basic

FeedLoad example for Visual Basic

FileOpen example for Visual Basic

FilePage Event example for Visual Basic

FilePageLoaded example for Visual Basic

Fill example for Visual Basic

Flip example for Visual Basic

FloaterDstClip... example for Visual Basic

Font example for Visual Basic

Frame... example for Visual Basic

GammaCorrect example for Visual Basic

GaussianFilter example for Visual Basic

GetBitmapClipSegments example for Visual Basic

GetBitmapDC example for Visual Basic

GetColorCount example for Visual Basic

GetDIB example for Visual Basic

GetFileInfo example for Visual Basic

GetFloaterHandle example for Visual Basic

GetFunctionalLookupTable example for Visual Basic

GetHistogram example for Visual Basic

GetHistogramGray example for Visual Basic

GetMarkers example for Visual Basic

GetMinMaxBits example for Visual Basic

GetMinMaxVal example for Visual Basic

GetPicture and SetPicture example for Visual Basic

GetRgnHandle example for Visual Basic

GetServerBitmap example for Visual Basic

GetUserLookupTable example for Visual Basic

Grayscale example for Visual Basic

GrayscaleExt example for Visual Basic

Halftone example for Visual Basic

HasMagGlass example for Visual Basic

HistoContrast example for Visual Basic

HistoEqualize example for Visual Basic

HistogramTableSize example for Visual Basic

HScrollInfo example for Visual Basic

HSV_HfromRGB example for Visual Basic

HTableL example for Visual Basic

Hue example for Visual Basic

hDocCleanRgn example for Visual Basic

hWnd (AnnToolbar) example for Visual Basic

IgnoreFilters example for Visual Basic

InfoHasAlpha example for Visual Basic

InfoLayers example for Visual Basic

InfoViewPerspective example for Visual Basic

InsertBitmapListItem example for Visual Basic

Intensity example for Visual Basic

IntensityDetect example for Visual Basic

Invert example for Visual Basic

InvertedText example for Visual Basic

IsSigned example for Visual Basic

J2KCompressionControl example for Visual Basic

J2KCompressionRatio example for Visual Basic

J2KROIControl Example for Visual Basic

J2KSetDefaults example for Visual Basic

J2KTargetFileSize example for Visual Basic

KeyPress example for Visual Basic

LevelLowBit example for Visual Basic

LevelHighBit example for Visual Basic

LevelLUT example for Visual Basic

LevelLUTLength example for Visual Basic

LineProfile example for Visual Basic

LineRemove example for Visual Basic

LoadArray example for Visual Basic

LoadCompressed example for Visual Basic

LoadIFD example for Visual Basic

LoadInfo... example for Visual Basic

LoadICCProfile example for Visual Basic

LoadMarkers example for Visual Basic

LoadMemory example for Visual Basic

LoadResize example for Visual Basic

LoadUseViewPerspective example for Visual Basic

MagGlassPaintContrast example for Visual Basic

MaxFilter example for Visual Basic

MaxVal example for Visual Basic

Median example for Visual Basic

MinFilter example for Visual Basic

MinVal example for Visual Basic

Mosaic example for Visual Basic

MotionBlur example for Visual Basic

MouseWheel (Main Control) example for Visual Basic

ODBC example for Visual Basic

Oilify example for Visual Basic

OLEDropAllowed example for Visual Basic

OLEDropFile example for Visual Basic

OLEStartDrag (Main Control) example for Visual Basic

Paint event example for Visual Basic

PaintContrast example for Visual Basic

PaintDither example for Visual Basic

PaintEffect example for Visual Basic

PaintGamma example for Visual Basic

PaintIntensity example for Visual Basic

PaintMaxPasses example for Visual Basic

PaintPalette example for Visual Basic

PaintROP3 example for Visual Basic

PaintScaling example for Visual Basic

PaintSizeMode example for Visual Basic

PaintSizeUseDPI example for Visual Basic

PaintWhileLoad example for Visual Basic

PaintZoomFactor example for Visual Basic

PatternStyle example for Visual Basic

PCDRes example for Visual Basic

PDFSaveLowMemory example for Visual Basic

PDFSaveUseDPI example for Visual Basic

PDFXResolution example for Visual Basic

PicturizeBitmapList example for Visual Basic

Picturize example for Visual Basic

PicturizeSingle example for Visual Basic

Pixel example for Visual Basic

PixelData example for Visual Basic

Posterize example for Visual Basic

PreferredLoadFormat example for Visual Basic

PreLoadFilters example for Visual Basic

PrinterScaleHeight example for Visual Basic

PrintNewPage example for Visual Basic

ProgressivePasses example for Visual Basic

RawLoad example for Visual Basic

RawSave example for Visual Basic

ReadLoadResolutions example for Visual Basic

ReadyState example for Visual Basic

RefBitmapList example for Visual Basic

RemapHue example for Visual Basic

RemapTableSize example for Visual Basic

RemoveRedeye example for Visual Basic

RenderCenter example for Visual Basic

Resize event example for Visual Basic

ResizeRgn example for Visual Basic

RGBfromHSV example for Visual Basic

RgnChange example for Visual Basic

RgnFrameColor example for Visual Basic

Rotate example for Visual Basic

Saturation example for Visual Basic

Save example for Visual Basic

SaveArray example for Visual Basic

SaveBuffer example for Visual Basic

SaveIFD example for Visual Basic

SaveInterlaced example for Visual Basic

SaveLayers example for Visual Basic

SaveLSB example for Visual Basic

SaveMemory example for Visual Basic

SavePage example for Visual Basic

SaveResolutionCount example for Visual Basic

SaveTileWidth example for Visual Basic

SaveWithStamp example for Visual Basic

Scroll event example for Visual Basic

SetRgn... example for Visual Basic

SetRgnColorHSVRange example for Visual Basic

SetRgnColorRGBRange example for Visual Basic

SetRgnMagicWand example for Visual Basic

SetSrcClipRect example for Visual Basic

SetSrcRect example for Visual Basic

SetTag example for Visual Basic

Sharpen example for Visual Basic

Shear example for Visual Basic

ShowHelpButton example for Visual Basic

ShowMagGlass example for Visual Basic

Solarize example for Visual Basic

SpatialFilter example for Visual Basic

Src... example for Visual Basic

STable example for Visual Basic

StopMagGlass example for Visual Basic

StretchIntensity example for Visual Basic

SwapColors example for Visual Basic

TextWordWrap example for Visual Basic

TransitionEffect example for Visual Basic

TransparentColor example for Visual Basic

Trim example for Visual Basic

Underlay example for Visual Basic

UnsharpMask example for Visual Basic

UserPalette and BitmapPalette example for Visual Basic

Version... example for Visual Basic

VTable example for Visual Basic

WindowLevel example for Visual Basic

WindowLevelBitmap example for Visual Basic

WindowLevelFillLUT example for Visual Basic

WriteComment example for Visual Basic

WriteMarkerAction example for Visual Basic

ZoomIn example for Visual Basic

ZoomInDone example for Visual Basic