Kadmos.com

  Home | Products | Download | Purchase | Support | Language

Google
Search site:

Products
DXFReader ActiveX Control
 • DXF Files Overview
 • Distribution
 • Installation
 • Quick Start
 • Control Summary
 • Download
 • Buy now!
 • DXFReader Reference
  • Properties
  • Methods
   • About
   • AddAlignedDi...
   • AddBlock
   • AddBlockEntity
   • AddClass
   • AddDimStyle
   • AddEntity
   • AddLayer
   • AddLineType
   • AddObject
   • AddStyle
   • AddUCS
   • AddVertex
   • AddView
   • AddViewPort
   • Clear
   • CoordXtoPixel
   • CoordYtoPixel
   • Copy
   • DisplayView
   • DrawArc
   • DrawCircle
   • DrawEntity
   • DrawLine
   • DrawPoint
   • DrawText
   • ExplodeBlock
   • GetACIColor
   • GetEntity
   • GetRGBColor
   • InvertEntity
   • LoadBlock
   • ModifyEntity
   • NewDrawing
   • Pan
   • PixelXtoCoord
   • PixelYtoCoord
   • Plot
   • PlotPreview
   • PopupMenu
   • ReadDXF
   • ReadDXFBlocks
   • ReadDXFEntities
   • Refresh
   • Regen
   • SaveBMP
   • SaveWMF
   • SetLimits
   • ShowBlock
   • ShowPalette
   • ShowRubberAl...
   • ShowRubberBox
   • ShowRubberCi...
   • ShowRubberLine
   • WriteDXF
   • WriteDXFBlock
   • ZoomExtents
   • ZoomIn
   • ZoomLimits
   • ZoomOut
   • ZoomPicture
   • ZoomPrevious
   • ZoomSpotIn
   • ZoomSpotOut
   • ZoomUser
   • ZoomWindow
  • Events

 • DXFPlot Reference

IXF ActiveX Control

Postel ActiveX Control

Tech Support
OnLine Support
Phone Support
Sample Code
Registered Users
FAQ
References
Kadmos
Contact Kadmos
Environment
Customer List
Newsletter
Download
ActiveX Controls
Updates
Purchase
Price List
International Resellers
Our Guarantee
Shipment Options
Payment Options
Shopping Cart
    DXFReader Control - ZoomSpotOut Method

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
ZoomSpotOut Method

Description Zooms out a drawing by scale factor specified in the ZoomInOutPercent property from the point specified by the x and y parameters.
Syntax [form.]DXFReader.ZoomSpotOut (x As Single, y As Single)
Remarks The following code will zoom in the drawing from the point directly beneath the cursor with a left click and will zoom out with a right click:

Sub DXFReader1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)

    Select Case Button
        Case 1
            DXFReader.ZoomSpotIn x, y
        Case 2
            DXFReader.ZoomSpotout x, y
    End Select

End Sub


To change the increase/decrease zooming factor use the ZoomInOutPercent property.

The parameters for the ZoomSpotOut method are described below:

ParameterDescription

xThe X coordinate, in drawing units, of the point
yThe Y coordinate, in drawing units, of the point

Copyright © 2008 Kadmos.com - All rights reserved. Privacy Policy