HiddenLinesViewOnFileAutodesk Class

Class that saves a vectorial image of the current scene of the active viewport on disk in DWG/DXF format.
Public Class HiddenLinesViewOnFileAutodesk
This language is not supported or no code example is available.
public class HiddenLinesViewOnFileAutodesk
This language is not supported or no code example is available.
Name Description
Public property AciColors If true, saves the colors as Aci colors (AutoCAD color index) if possible
Public property ForegroundColor Gets or sets the color saved as foreground color ( AutoCAD color index 7).
Public property LineWeightUnits The units of the line weights.
Public property Units The units of the model.
Top
Methods
 
Name Description
Protected method CreateAutodeskDatabase(OdDbDatabase, bool, Color)
Protected method DoWork(BackgroundWorker, DoWorkEventArgs)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Protected method WorkCompleted(Environment)
Top
Fields
 
Name Description
Public field FileName The name of the file to save.
Public field Scale The scale of the drawing
Public field Version The AutoCAD file version.
Top
Example
 
The following code fragment demonstrates how to save a vectorial image of the current scene of the active viewport on disk.
            HiddenLinesViewOnFileAutodesk hdlView = new HiddenLinesViewOnFileAutodesk(new HiddenLinesViewSettings(viewport1), fileName, autocadVersionType.Release21);
            viewport1.StartWork(hdlView);
     					
This language is not supported or no code example is available.
            Dim hdlView As New HiddenLinesViewOnFileAutodesk(new HiddenLinesViewSettings(Viewport1), FileName, autocadVersionType.Release21)
            Viewport1.StartWork(hdlView)
 					
This language is not supported or no code example is available.
devDept.Eyeshot.HiddenLinesViewOnFileAutodesk

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition