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 - UCSs Property

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
UCSs Property

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

The methods of the UCSs collection are:
CountCounts the defined UCSs
RemoveRemoves a UCS object from the UCSs collection

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

Dim NUCSs As Long

NUCSs = DXFReader1.UCSs.Count

To remove a UCS object, for example the first, from the UCSs collection use the following code:

DXFReader1.UCSs.Remove (1)

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

PropertyData TypeDescription

UCSName String UCS name
X0 Single X coordinate of UCS's origin in drawing units
Y0 Single Y coordinate of UCS's origin in drawing units
Z0 Single Z coordinate of UCS's origin in drawing units
X1 Single X coordinate of UCS's X-axis direction in drawing units
X2 Single X coordinate of UCS's Y-axis direction in drawing units
Y1 Single Y coordinate of UCS's X-axis direction in drawing units
Y2 Single Y coordinate of UCS's Y-axis direction in drawing units
Z1 Single Z coordinate of UCS's X-axis direction in drawing units
Z2 Single Z coordinate of UCS's Y-axis direction in drawing units
Handle String Handle
Flag Integer Standard flag values


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

Dim UCS as Object

With DXFReader1

 For Each UCS In .UCSs

  Printer.Print UCS.UCSName

 Next UCS

End With
Data Type Collection

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