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
   • About
   • AddAlignedDi...
   • AddBlock
   • AddBlockEntity
   • AddClass
   • AddDimStyle
   • AddEntity
   • AddLayer
   • AddLineType
   • AddObject
   • AddStyle
   • AddUCS
   • AddVertex
   • AddView
   • AddViewPort
   • Clear
   • CoordXtoPixel
   • CoordYtoPixel
   • Copy
   • DisplayView
   • DrawArc
   • DrawCircle
   • DrawEntity
   • DrawLine
   • DrawPoint
   • DrawText
   • ExplodeBlock
   • GetACIColor
   • GetEntity
   • GetRGBColor
   • InvertEntity
   • LoadBlock
   • ModifyEntity
   • NewDrawing
   • Pan
   • PixelXtoCoord
   • PixelYtoCoord
   • Plot
   • PlotPreview
   • PopupMenu
   • ReadDXF
   • ReadDXFBlocks
   • ReadDXFEntities
   • Refresh
   • Regen
   • SaveBMP
   • SaveWMF
   • SetLimits
   • ShowBlock
   • ShowPalette
   • ShowRubberAl...
   • ShowRubberBox
   • ShowRubberCi...
   • ShowRubberLine
   • WriteDXF
   • WriteDXFBlock
   • ZoomExtents
   • ZoomIn
   • ZoomLimits
   • ZoomOut
   • ZoomPicture
   • ZoomPrevious
   • ZoomSpotIn
   • ZoomSpotOut
   • ZoomUser
   • ZoomWindow
  • 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 - AddAlignedDimension Method

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
AddAlignedDimension Method

Description Adds a new aligned dimension to the drawing.
Syntax [form.]DXFReader.AddAlignedDimension (X1 As Single, Y1 As Single, X2 As Single, Y2 As Single, DimensionLineLocation As Single, [DimensionValue As Single], [LayerName As String], [Color As Integer])
Remarks The parameters for the AddAlignedDimension method are described below:

ParameterDescription

X1The x coordinate of the first endpoint of the extension line.
Y1The y coordinate of the first endpoint of the extension line.
X2The x coordinate of the second endpoint of the extension line.
Y2The y coordinate of the second endpoint of the extension line.
DimensionLineLocationThe distance from the extension line and the text position.
DimensionValue(Optional) The value of dimension. If omitted the real value is used. (Default value = 0)
LayerName(Optional) The name of the entity's layer. If omitted the CurrentLayer property setting is used. If the indicated layer does not exist in the loaded DXF file an Error 300 ("Layer not found") is generated and the entity is added to the current layer.
Color(Optional) An integer number for 1 to 256 corresponding to the AutoCAD Color Index. If omitted the CurrentColor property setting is used (Default value = 0)

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