Click or drag to resize

DXFReaderNETControl Methods

The DXFReaderNETControl type exposes the following members.

Methods
  NameDescription
Public methodAbout
Displays the About Box.
Public methodAddAlignedDimension(Line, Vector3, String, Int16, String, String)
Adds a new aligned dimension to the current drawing giving the reference line.
Public methodAddAlignedDimension(Line, Double, String, Int16, String, String)
Adds a new aligned dimension to the current drawing giving the reference line.
Public methodAddAlignedDimension(Vector3, Vector3, Vector3, String, Int16, String, String)
Adds a new aligned dimension to the current drawing with start point and end point.
Public methodAddAlignedDimension(Vector3, Vector3, Double, String, Int16, String, String)
Adds a new aligned dimension to the current drawing with start point and end point.
Public methodAddAngularDimension(Arc, Vector3, String, Int16, String, String)
Adds a new angular dimension to the current drawing giving an arc.
Public methodAddAngularDimension(Arc, Double, String, Int16, String, String)
Adds a new angular dimension to the current drawing giving arc and offset.
Public methodAddAngularDimension(Line, Line, Vector3, String, Int16, String, String)
Adds a new angular dimension to the current drawing giving two reference lines and the position.
Public methodAddAngularDimension(Line, Line, Double, String, Int16, String, String)
Adds a new angular dimension to the current drawing giving two reference lines and the offeset from center point.
Public methodAddAngularDimension(Vector3, Vector3, Vector3, Vector3, String, Int16, String, String)
Adds a new angular dimension to the current drawing giving center point, start point and end point.
Public methodAddAngularDimension(Vector3, Vector3, Vector3, Double, String, Int16, String, String)
Adds a new angular dimension to the current drawing giving center point, start point and end point.
Public methodCode exampleAddArc(Vector3, Vector3, Vector3, Int16, String, String)
Adds a new arc to the current drawing specifing start point, end point and a pont on arc.
Public methodCode exampleAddArc(Vector3, Double, Double, Double, Int16, String, String)
Adds a new arc to the current drawing.
Public methodAddBlock
Adds a new block to the current drawing.
Public methodCode exampleAddCircle(Vector3, Double, Int16, String, String)
Adds a new circle to the current drawing with center and radius.
Public methodCode exampleAddCircle(Vector3, Vector3, Vector3, Int16, String, String)
Adds a new circle to the current drawing passing from three points.
Public methodAddDiametricDimension(Arc, Vector3, String, Int16, String, String)
Adds a new diametric dimension to the current drawing giving the reference arc.
Public methodAddDiametricDimension(Circle, Vector3, String, Int16, String, String)
Adds a new diametric dimension to the current drawing giving the reference circle.
Public methodAddDiametricDimension(Arc, Double, Double, String, Int16, String, String)
Adds a new diametric dimension to the current drawing giving the reference arc.
Public methodAddDiametricDimension(Circle, Double, Double, String, Int16, String, String)
Adds a new diametric dimension to the current drawing giving the reference circle.
Public methodCode exampleAddEllipse
Adds a new ellipse to the current drawing.
Public methodCode exampleAddFace3D
Adds a 3D face to the current drawing.
Public methodCode exampleAddGradientHatch
Adds a new gradient hatch to the current drawing.
Public methodAddHatch(HatchPattern, ListEntityObject, ListEntityObject, Double, Double, Int16, String, String)
Adds a new hatch to the current drawing giving the pattern object.
Public methodAddHatch(String, ListEntityObject, ListEntityObject, Double, Double, Int16, String, String)
Adds a new hatch to the current drawing giving the pattern name.
Public methodAddImage
Adds a new image to the current drawing.
Public methodAddInsert
Adds a new insert entity to the current drawing.
Public methodAddLayer
Adds a new layer to the drawing.
Public methodAddLightWeightPolyline
Adds a new light weight polyline to the current drawing.
Public methodAddLine(Vector3, Vector3, Int16, String, String)
Adds a new line to the current drawing.
Public methodAddLine(Vector3, Double, Double, Int16, String, String)
Adds a new line to the current drawing using polar coordinates.
Public methodAddLinearDimension(Line, Vector3, Double, String, Int16, String, String)
Adds a new linear dimension to the current drawing giving the reference line.
Public methodAddLinearDimension(Line, Double, Double, String, Int16, String, String)
Adds a new linear dimension to the current drawing giving the reference line.
Public methodAddLinearDimension(Vector3, Vector3, Vector3, Double, String, Int16, String, String)
Adds a new linear dimension to the current drawing with start point and end point.
Public methodAddLinearDimension(Vector3, Vector3, Double, Double, String, Int16, String, String)
Adds a new linear dimension to the current drawing with start point and end point.
Public methodAddMline
Adds a new multiple parallel lines (MLINE) to the current drawing.
Public methodAddOle2Frame
Adds a new image to the current drawing as an embedded ole2frame entity.
Public methodAddPDFUnderlay
Adds a new PDF underlay to the current drawing.
Public methodAddPoint
Adds a new point to the current drawing.
Public methodAddPolygon
Adds a new regular polygon inscribed in a circle to the current drawing with center, radius and rotation.
Public methodAddPolyline
Adds a new polyline to the current drawing.
Public methodAddRadialDimension(Arc, Vector3, String, Int16, String, String)
Adds a new radial dimension to the current drawing giving the reference arc.
Public methodAddRadialDimension(Circle, Vector3, String, Int16, String, String)
Adds a new radial dimension to the current drawing giving the reference circle.
Public methodAddRadialDimension(Arc, Double, Double, String, Int16, String, String)
Adds a new radial dimension to the current drawing giving the reference arc.
Public methodAddRadialDimension(Circle, Double, Double, String, Int16, String, String)
Adds a new radial dimension to the current drawing giving the reference circle.
Public methodAddRay
Adds a new ray to the current drawing.
Public methodAddSolid
Adds a new solid to the current drawing.
Public methodAddSpline
Adds a new spline to the current drawing.
Public methodAddText
Adds a new text to the current drawing.
Public methodAddTextStyle
Adds a new text style to the drawing.
Public methodAddTrace
Adds a new trace to the current drawing using current trace witdh.
Public methodAddView
Adds a new view to the drawing.
Public methodAddViewPort
Adds a new viewport to the drawing.
Public methodAddXLine
Adds a new contruction line to the current drawing.
Public methodChamfer
Chamfers the edges of two objects.
Public methodClear
Clears graphics in the control.
Public methodClearDrawnElements
Clears elements added with the Draw methods.
Public methodCoincidentEntities
Finds the coincident entities of the drawing.
Public methodContour
Find the contour from an entity.
Public methodCoordsToWorld
Converts pixels coordinates to drawing's coordinates.
Public methodDefaultColorScheme
Use the default color scheme for the control
Public methodDisplayPredefinedView
Displays the drawing with predefined mode.
Public methodDisplayView
Retreives the drawing view specified by ViewName parameter.
Public methodDrawArc
Draws an arc on the control.
Public methodDrawCircle
Draws a circle on the control.
Public methodDrawEntity
Draws a single entity without refreshing the whole drawing.
Public methodDrawImage
Draws an image on the control.
Public methodDrawLine
Draws a line on the control.
Public methodDrawPoint
Draws a point on the control.
Public methodDrawPolygon
Draws a polygon on the control.
Public methodDrawText(Pen, String, Vector2, Double, Double, FontStyle, TextAlignment, Boolean)
Draws a text on the control.
Public methodDrawText(Pen, String, Vector2, Double, Double, FontStyle, StringAlignment, Boolean)
Draws a text on the control.
Public methodEntitiesToLwPolylines
Groups a list of Lines, Arcs and polylines into lwpolylines.
Public methodExplodeBlockAsNewDrawing
Creates a new drawing with all block elements.
Public methodExtend
Extends an entity.
Public methodFillet
Rounds and fillets the edges of objects.
Public methodGetEntities
Returns a list of entity objects contained in a rectangle.
Public methodGetEntity(Vector2)
Returns the nearest entity to position.
Public methodGetEntity(ListEntityObject, Vector2)
Returns the nearest entity among a list of entities to position.
Public methodHighLight(EntityObject)
Highlights the selected entity.
Public methodHighLight(ListEntityObject)
Highlights a list of entities.
Public methodJoin
Joins two entities.
Public methodLightColorScheme
Use the light color scheme for the control
Public methodNewDrawing
Creates a new drawing deleting every drawing classes.
Public methodOffset
Offsets an entity.
Public methodOrbit
Orbiting about a direction.
Public methodCode examplePan
Pans the drawing of a distance indicated by the StartPoint-EndPoint segment.
Public methodPixelToWorld
Converts pixels size to drawing's units.
Public methodPlot
Plots the drawing using the default printer.
Public methodPlotPreview
Displays the plot preview on a PrintPreviewControl.
Public methodReadDXF
Reads and displays the DXF file indicated by the FileName property or by the DXFFileName parameter.
Public methodReadHatchPatternsFromFile
Returns a list of pattern objects from the definitions in a pat file.
Public methodReadOBJ
Read a Wavefront .obj file and add its data to the current drawing.
Public methodSetLimits
Sets the drawing limits.
Public methodShowDimStyles
Shows the default dimension styles dialog for the control.
Public methodShowDrawingInfo
Shows the default drawing info dialog.
Public methodShowDrawingInfo(IEnumerableEntityObject)
Shows the default entities info dialog.
Public methodShowDrawingUnits
Shows the default drawing untis dialog.
Public methodShowLayers
Shows the default layers dialog for the control.
Public methodCode exampleShowPalette
Shows the default Palette dialog for the control.
Public methodShowProperties(Object)
Shows all properties of a generic object with a modal form.
Public methodShowProperties(String)
Shows all properties of an object with a modal form.
Public methodShowRubberBandAlignedDimension(Line, Vector2, NullableColor, RubberBandType)
Shows the distance specified by referenc line as a rubber band aligned dimension.
Public methodShowRubberBandAlignedDimension(Vector2, Vector2, Vector2, NullableColor, RubberBandType)
Shows the distance specified by the StartPoint and EndPoint parameters as a rubber band aligned dimension.
Public methodShowRubberBandAngularDimension
Shows the angle specified by the center point, radius, start angle and end angle parameters af an arc as a rubber band angular dimension.
Public methodShowRubberBandArc
Shows the arc specified by the center point, radius, start angle and end angle parameters as a rubber band arc.
Public methodShowRubberBandBox(Vector2, Vector2, NullableColor, RubberBandType)
Shows the rectangle specified by the StartPoint and EndPoint parameters as a rubber band rectangle.
Public methodShowRubberBandBox(Vector2, Double, Double, NullableColor, RubberBandType)
Shows the rectangle specified by the Position, Width and Height parameters as a rubber band rectangle.
Public methodShowRubberBandCircle
Shows the circle specified by the CenterPoint and Radius parameters as a rubber band circle.
Public methodShowRubberBandEntities
Shows the entities specified by Entities parameter as a rubber band group of entities.
Public methodCode exampleShowRubberBandLine
Shows the distance specified by the StartPoint and EndPoint parameters as a rubber band line.
Public methodShowRubberBandLinearDimension(Line, Vector2, Double, NullableColor, RubberBandType)
Shows the distance specified by referenc line as a rubber band linear dimension.
Public methodShowRubberBandLinearDimension(Vector2, Vector2, Vector2, Double, NullableColor, RubberBandType)
Shows the distance specified by the StartPoint and EndPoint parameters as a rubber band linear dimension.
Public methodShowRubberBandPolygon
Shows the polygon specified by the Points parameter as a rubber band polygon.
Public methodTrim(EntityObject, EntityObject, Vector2)
Trims an entity.
Public methodTrim(ListEntityObject, EntityObject, Vector2)
Trims an entity.
Public methodWorldToCoords
Converts drawing's coordinates to pixels coordinates.
Public methodWriteDXF
Writes the current drawing on a DXF file on disk.
Public methodZoomCenter
Zooms to the center of display window.
Public methodZoomExtents
Zooms to the full drawing extents.
Public methodZoomIn
Zooms in a drawing by scale factor specified in the ZoomInOutPercent property from the center point of the drawing.
Public methodZoomLimits
Zooms a drawing to the full limits.
Public methodZoomNext
Zooms to the next view.
Public methodZoomOut
Zooms out a drawing by scale factor specified in the ZoomInOutPercent property from the center point of the drawing.
Public methodZoomPrevious
Zooms to the preceding view.
Public methodZoomSpotIn
Zooms in a drawing by scale factor specified in the ZoomInOutPercent property from the position.
Public methodZoomSpotOut
Zooms out a drawing by scale factor specified in the ZoomInOutPercent property from the position.
Public methodZoomWindow
Zooms a drawing to the window specified by the StartPoint and EndPoint parameters.
Top
See Also