Inspired Creations



Support

Affiliates

Resellers

Reviews

Privacy
Home
Software
ActiveX controls
Download
Contact
Ordering information
Viewer ActiveX control Viewer
Viewer: Properties
Methods
Events
Objects: IconList
Image
Download Order

 

 

Properties
AlignList Returns or sets a value that determines the alignment of the IconList control.
AutoStart Returns or sets a value that determines whether any animation will auto-start, as soon as the FileName property is set.
BackColor Returns or sets the background color of an object.
BackStyle Returns or sets the background style of the control.
BorderStyle Returns or sets the border style for an object.
DropTarget Returns or sets a value that determines whether the control can be a drop target in a drag and drop operation
Enabled Returns or sets a value that determines whether Viewer control can respond to user-generated events.
Filename Returns or sets the current Filename.
hWnd Returns the handle to the Viewer control.
IconList Returns a reference to the IconList control.
Image Returns a reference to a cImg object.
IsIcon Returns a value that determines whether the current image is an icon or a cursor. Not available at design time.
Locked Returns or sets a value that determines whether image can scroll.
LockFile Returns or sets a value that determines whether loaded image is locked for exclusive use.
LockZoom Returns or sets a value that determines whether the current zoom value will be used for loaded images.
MouseIcon Returns or sets a custom mouse icon.
MousePointer Returns or sets a value indicating the type of mouse pointer displayed when the mouse is over a particular part of an object at run time.
Quality Returns or sets the quality of rendering.
ScaleLeft Returns the horizontal coordinate for the left edge, of the clear area of the control.
ScaleWidth Returns the number of units for the horizontal measurement, of the clear area of the control.
ShowList Returns or sets a value that determines whether the IconList control is visible or not. Not available at design time.
Style Returns or sets the style of a Viewer control.
Zoom Returns or sets the zoom factor of the Viewer control.

 

 

Methods
Cls Clears graphics generated at run time from a Viewer control.
Redraw Redraws background and graphics on the Viewer control.
Refresh Forces a complete repaint of a Viewer control.
StartRender Starts a new or continues a currently paused animation.
StopRender Pauses any current animation.
RenderFrame Renders an individual frame of the animation.
OnImage Determines whether X and Y coordinates are over the displayed image area of the Viewer control.

 

 

Events
KeyDown (KeyCode as Integer, Shift as Integer)
KeyPress ()
KeyUp (KeyCode as Integer, Shift as Integer)
MouseDown (Button as Integer, Shift as Integer, X as Long, Y as Long)
MouseUp (Button as Integer, Shift as Integer, X as Long, Y as Long)
MouseMove (Button as Integer, Shift as Integer, X as Long, Y as Long)
Click ()
DblClick ()
SelChanged (Img as cImage)
EndLoop ()
EndPlay ()
Resize ()
Scroll ()
Error (iErrNum as Long, sErrDesc as String, sSource as String)

 

 

cImg Object

Properties
ActiveFrame Returns or sets the active frame of an animated image file.
FramesCount Returns the number of frames of the image represented by the cImg object.
Handle Returns or sets a handle to a GDI+ Bitmap object.
Height Returns the Height of the image represented by the cImg object. Not available at design time.
LoopsCount Returns the number of loops of the animation of the image represented by the cImg object. Not available at design time.
Picture Returns a stdPicture object, with the graphic of the image represented by the cImg object. Not available at design time.
PixelFormat Returns the Pixel Format of the image represented by the cImg object. Not available at design time.
ResHorizontal Returns the horizontal resolution of the image represented by the cImg object. Not available at design time.
ResVertical Returns the vertical resolution of the image represented by the cImg object. Not available at design time.
Width Returns or sets the Width of the image represented by the cImg object.

 

 

 

Home | Software | ActiveX | Download | Order | Support | Contact | About us

Copyright © 1997-2008 Inspired Creations Inc.
iclogo