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
  • Methods
  • Events
   • Click
   • DblClick
   • Error
   • KeyDown
   • KeyPress
   • KeyUp
   • MouseDown
   • MouseMove
   • MouseUp
   • PlotStatus
   • ReadStatus
   • RegenStatus
   • WriteStatus

 • 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 - WriteStatus Event

Kadmos DXFReader ActiveX Control      Previous
DXFReader Control
WriteStatus Event

Description Fired while a DXF file is being written.
Syntax Private Sub DXFReader_WriteStatus(TotalEntities As Long, ProcessedEntities As Long)
Remarks The WriteStatus event is fired while a DXF file is being written invoking the WriteDXF and WriteDXFBlock methods. This event lets you know how close to completion the operation is and may be used to display a progress bar or other status indicator.

The following code, inserted in the WriteStatus event, will show a progress bar during write:

If ProcessedEntities = 0 Then
    ProgressBar1.Visible = True
    ProgressBar1.Value = 0
    ProgressBar1.Min = 0
    ProgressBar1.Max = TotalEntities
End If

ProgressBar1.Value = ProcessedEntities

If ProcessedEntities = TotalEntities Then
    ProgressBar1.Visible = False
End If


The parameters for the WriteStatus event are described below:

ParameterDescription

TotalEntitiesA long integer that specifies the total number of entities of the drawing.
ProcessedEntitiesA long integer that specifies the number of the entity written.

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