Share

IExportContext2D Methods

The IExportContext2D type exposes the following members.

Methods

 NameDescription
Public methodOnCurve This method is called when a Curve is being output.
(Inherited from IExportContextBase)
Public methodOnElementBegin2D This method marks the beginning of an element to be exported.
Public methodOnElementEnd2D This method marks the end of an element being exported.
Public methodOnFaceEdge2D This method is called when a Face edge is being output.
Public methodOnFaceSilhouette2D This method is called when a Face silhouette is being output.
Public methodOnLineSegment This method is called after unhandled curve was tessellated to line segments and sent to the output.

Note for 2D export: if the export is performed for the view in non-Wireframe display style, then

  • this method is called outside of view, instance and link begin/end calls but still between OnElementBegin2D/OnElementEnd2D calls
  • this method is never called for annotation elements, i.e. their geometry should be processed in methods OnCurve and OnPolyline


(Inherited from IExportContextBase)
Public methodOnPolyline This method is called when a Polyline is being output.
(Inherited from IExportContextBase)
Public methodOnPolylineSegments This method is called after unhandled curve was tessellated to polyline segments and sent to the output.

Note for 2D export: if the export is performed for the view in non-Wireframe display style, then

  • this method is called outside of view, instance and link begin/end calls but still between OnElementBegin2D/OnElementEnd2D calls
  • this method is never called for annotation elements, i.e. their geometry should be processed in methods OnCurve and OnPolyline


(Inherited from IExportContextBase)
Public methodOnText This method is called when a text annotation object is being output.
(Inherited from IExportContextBase)

See Also

Reference

Was this information helpful?