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

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
DimStyles Property

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

The methods of the DimStyles collection are:
CountCounts the defined DimStyles
RemoveRemoves a DimStyle object from the DimStyles collection

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

Dim NDimStyles As Long

NDimStyles = DXFReader1.DimStyles.Count

To remove a DimStyle object, for example the first, from the DimStyles collection use the following code:

DXFReader1.DimStyles.Remove (1)

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

PropertyData TypeDescription

DIMTMOVE Integer
DIMLWE Integer
DIMLWD Integer
DIMLUNIT Integer
DIMLDRBLK String
DIMDSEP Integer
DIMAZIN Integer
DIMATFIT Integer
DIMALTRND Single
DIMADEC Integer
Handle String
Flag Integer Standard flag values
DimStyleName String Dimension style name
DIMPOST String
DIMAPOST String
DIMBLK String
DIMBLK1 String
DIMBLK2 String
DIMSCALE Single
DIMASZ Single
DIMEXO Single
DIMDLI Single
DIMEXE Single
DIMRND Single
DIMDLE Single
DIMTP Single
DIMTM Single
DIMTXT Single
DIMCEN Single
DIMTSZ Single
DIMALTF Single
DIMLFAC Single
DIMTVP Single
DIMTFAC Single
DIMGAP Single
DIMTOL Integer
DIMLIM Integer
DIMTIH Integer
DIMTOH Integer
DIMSE1 Integer
DIMSE2 Integer
DIMTAD Integer
DIMZIN Integer
DIMALT Long
DIMALTD Long
DIMTOFL Long
DIMSAH Long
DIMTIX Long
DIMSOXD Long
DIMDLRD Long
DIMCLRE Long
DIMCLRT Long
DIMUNIT Long
DIMDEC Long
DIMTDEC Long
DIMALTU Long
DIMALTTD Long
DIMTXSTY Long
DIMAUNIT Long
DIMJUST Integer
DIMSD1 Integer
DIMSD2 Integer
DIMTOLJ Integer
DIMTZIN Integer
DIMALTZ Integer
DIMALTTZ Integer
DIMFIT Integer
DIMUPT Integer


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

Dim DimStyle as Object

With DXFReader1

 For Each DimStyle In .DimStyles

  Printer.Print DimStyle.DimStyleName

 Next DimStyle

End With


See the Autodesk DXF Reference for more information.
Data Type Collection

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