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

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
FileName Property

Description Returns/sets the DXF file to display in the control.
Syntax
Visual Basic
[form.]DXFReader.FileName[ = Text$]
Visual C++ CString DXFReader.GetFileName();
void DXFReader.SetFileName(LPCTSTR lpszNewValue);
Delphi property FileName: WideString;
C# string DXFReader.FileName;
Remarks This is the default property of the control.

The ReadDXF and WriteDXF methods use this property as filename if not indicated.
Setting this property at design time will display the drawing in the control.

This property is also defined as bindable.
It is possible to associate it with fields in any data source, making it easier to use DXFReader in database applications.

For example the code below shows how to use DXFReader to create a batch plot utility that plots every file whose filename is contained in the field "FileName" of the table "Drawings" in the database "MyProjects.mdb":

Data1.DataBaseName = "MyProjects.mdb"
Data1.RecordSource = "Drawings"

DXFReader1.DataSource = "Data1"
DXFReader1.DataField = "FileName"

Data1.RecordSet.MoveFirst

While Not Data1.RecordSet.EOF
 DXFReader1.ReadDXF

 DXFReader1.Plot

 Data1.RecordSet.MoveNext

Wend


Data Type String

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