|
ClearImage Method
Clear the image within preview window.
[Visual Basic]
Sub ClearImage()
Example
ExifViewer.LoadImage "c:\SourceImage.jpg"
ExifViewer.ClearImage
FitToWindow Method
Zoom image to the same size of the preview window.
[Visual Basic]
Sub FitToWindow()
Example
ExifViewer.FitToWindow
Flip Method
Flip image vertically or horizontally.
[Visual Basic]
Sub Flip( _
ByVal Vertically As Boolean _
)
Parameters
Vertically
True means flip vertically, False means flip horizontally.
Example
ExifViewer.LoadImage "c:\SourceImage.tif"
ExifViewer.Flip True
GetCurrentImageHeight Method
Get current height of the image after zoom in or zoom out.
[Visual Basic]
Function GetCurrentImageHeight( ) As Integer
Return Value
Height of the image measured in pixels.
Example
ExifViewer.LoadImage "c:\SourceImage.tif"
ExifViewer.ZoomToFit
txtCurrentImageHeight = ExifViewer.GetCurrentImageHeight
GetCurrentImageWidth Method
Get current width of the image after zoom in or zoom out.
[Visual Basic]
Function GetCurrentImageWidth( ) As Integer
Return Value
Width of the image measured in pixels.
Example
ExifViewer.LoadImage "c:\SourceImage.tif"
ExifViewer.ZoomToFit
txtCurrentImageWidth = ExifViewer.GetCurrentImageWidth
« »
|