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
   • ACADVersion
   • AppID
   • AppIDs
   • AutoRedraw
   • AxesColor
   • BackColor
   • BaseX
   • BaseY
   • Block
   • BlockRecord
   • BlockRecords
   • Blocks
   • BorderStyle
   • Class
   • Classes
   • CurrentColor
   • CurrentEleva...
   • CurrentLayer
   • CurrentLineType
   • CurrentTextS...
   • CurrentThick...
   • DateCreated
   • DateLastEdited
   • DIMSTYLEc
   • DimStyles
   • DisplayAspec...
   • DrawingComment
   • DrawMode
   • Enabled
   • Entities
   • Entity
   • FileName
   • FileStatus
   • Font
   • ForeColor
   • GridColor
   • hDC
   • Layer
   • Layers
   • LineType
   • LineTypes
   • MaxX
   • MaxY
   • MinX
   • MinY
   • MouseIcon
   • MousePointer
   • Obj
   • Objects
   • PaletteButto...
   • PaletteCance...
   • PaletteCaption
   • PaletteOkBut...
   • PaletteWindo...
   • PaletteWindo...
   • PaletteWindo...
   • Picture
   • PictureBaseX
   • PictureBaseY
   • PictureHeight
   • PictureScale...
   • PictureScaleX
   • PictureScaleY
   • PictureWidth
   • PlotAspectRatio
   • PlotDocument...
   • PlotMarginBo...
   • PlotMarginLeft
   • PlotMarginRight
   • PlotMarginTop
   • PlotMode
   • PlotOriginX
   • PlotOriginY
   • PlotPenWidth
   • PlotRendering
   • PlotRotation
   • PlotScale
   • RotationAngle
   • ScaleX
   • ScaleY
   • ScrollBars
   • ShowAxes
   • ShowBasePoint
   • ShowGrid
   • ShowLimits
   • ShowPlotMargins
   • Style
   • Styles
   • ToolTipText
   • TotalEditTime
   • TotalEditTim...
   • TranslationX
   • TranslationY
   • UCS
   • UCSs
   • UserTimer
   • UserTimerDays
   • Version
   • View
   • ViewPort
   • ViewPortMaxX
   • ViewPortMaxY
   • ViewPortMinX
   • ViewPortMinY
   • ViewPorts
   • Views
   • ZoomInOutPer...
Hidden Properties
  • Methods
  • 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 - Views Property

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
Views Property

Description Returns a reference to a collection of "View" objects. Each object corresponds to an entry of the View table (VIEW) of the DXF file.
Syntax
Visual Basic
[form.]DXFReader.Views
Visual C++ C_Collection DXFReader.GetViews();
Delphi property Views: _Collection;
C# VBA.Collection DXFReader.Views;
Remarks Use the Views collection to retrieve or remove an individual View object.

The methods of the Views collection are:
CountCounts the defined Views
RemoveRemoves a View object from the Views collection

To count all the objects of the Views collection use the following code:

Dim NViews As Long

NViews = DXFReader1.Views.Count

To remove a View object, for example the first, from the Views collection use the following code:

DXFReader1.Views.Remove (1)

All of the properties for the View object are listed in the following table:

PropertyData TypeDescription

ViewName String Name of view
Xc Single View center point X coordinate
Yc Single View center point Y coordinate
ViewDirectionX Single View direction from target point X coordinate
ViewDirectionY Single View direction from target point Y coordinate
ViewDirectionZ Single View direction from target point Z coordinate
ViewTargetX Single View target point X coordinate
ViewTargetY Single View target point Y coordinate
ViewTargetZ Single View target point Z coordinate
ViewHeight Single View height
ViewWidth Single View width
LensLength Single Lens focal length
FrontClippingPlane Single Front clipping plane (offset from target point)
BackClippingPlane Single Back clipping plane (offset from target point)
ViewTwistAngle Single Twist angle
ViewMode Integer View mode (see VIEWMODE system variable)
Handle String Handle
Flag Integer Standard flag values (bit-coded values). 1 = if set, this is a paper space view


The code below lists the contents of the VIEW table of e DXF file:

Dim View as Object

With DXFReader1

 For Each View In .Views

  Printer.Print View.ViewName

 Next View

End With
Data Type Collection

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