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

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
AddViewPort Method

Description Adds a new viewport to the drawing.
Syntax [form.]DXFReader.AddViewPort (ViewPortName As String, [X1 As Single], [Y1 As Single], [X2 As Single], [Y2 As Single])
Remarks If X1, Y1, X2 and Y2 parameters are omitted the current view is added.
If the viewport indicated by the ViewPortName parameter exists the Error event is fired with ErrorCode = 902.

The parameters for the AddViewPort method are described below:

ParameterDescription

ViewPortNameThe name of the viewport to add
X1(Optional) X coordinate of the lower-left corner of the view (Default value = 0)
Y1(Optional) Y coordinate of the lower-left corner of the view (Default value = 0)
X2(Optional) X coordinate of the upper-right corner of the view (Default value = 0)
Y2(Optional) Y coordinate of the upper-right corner of the view (Default value = 0)

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