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

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
BlockRecords Property

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

The methods of the BlockRecords collection are:
CountCounts the defined BlockRecords
RemoveRemoves a BlockRecord object from the BlockRecords collection

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

Dim NBlockRecords As Long

NBlockRecords = DXFReader1.BlockRecords.Count

To remove a BlockRecord object, for example the first, from the BlockRecords collection use the following code:

DXFReader1.BlockRecords.Remove (1)

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

PropertyData TypeDescription

BlockName String Block name
Handle String Handle


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

Dim BlockRecord as Object

With DXFReader1

 For Each BlockRecord In .BlockRecords

  Printer.Print BlockRecord.BlockName

 Next BlockRecord

End With
Data Type Collection

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