Kadmos.com


?>

  Home | Products | Download | Purchase | Support | Language

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 - ZoomSpotIn Method

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
ZoomSpotIn Method

Description Zooms in a drawing by scale factor specified in the ZoomInOutPercent property from the point specified by the x and y parameters.
Syntax [form.]DXFReader.ZoomSpotIn (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 ZoomSpotIn 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/2011 Kadmos.com - All rights reserved. Privacy Policy