WritePDF Class

Helper class to export geometry in 3D PDF file format.
Public Class WritePDF 
Inherits WriteDatabase
This language is not supported or no code example is available.
public class WritePDF : WriteDatabase
This language is not supported or no code example is available.
Name Description
Public constructor WritePDF(WritePdfParams, Stream) To stream with write params.
Public constructor WritePDF(WritePdfParams, string) To file with write params.
Top
Name Description
Public property Static SupportedLinearUnitsType Gets the supported linear units (inherited from WriteDatabase).
Protected property backGroundColor
Protected property paperSize
Protected property viewRect
Top
Methods
 
Name Description
Protected method BuildPage(OdPage, int) Override this method to add elements in the page.
Public method Static CleanFileName(string) (inherited from WriteDatabase).
Protected method DoWork(BackgroundWorker, DoWorkEventArgs) (inherited from WriteDatabase).
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 InitLayers(LayerKeyedCollection) (inherited from WriteDatabase).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method SortEntitiesForWriteAutodesk(IList<Entity>) Gives the opportunity to sort entities before export. (inherited from WriteDatabase).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Protected method WriteDatabaseInternal(string, IList<Entity>, BackgroundWorker, DoWorkEventArgs, OdDbDatabase, LayerKeyedCollection, BlockKeyedCollection, Dictionary<StringString>, TextStyleKeyedCollection, LineTypeKeyedCollection, MaterialKeyedCollection, attributeReferenceVisibilityType, bool, string) (inherited from WriteDatabase).
Protected method WriteFile(OdDbDatabase)
Top
Name Description
Public enumeration renderMode PDF render mode.
Top
Fields
 
Name Description
Protected field _explodeViews (inherited from WriteDatabase).
Protected field aciColors If true, saves the colors as Aci colors (Autocad color index) if possible (inherited from WriteDatabase).
Protected field attributeReferenceVisibilityMode (inherited from WriteDatabase).
Protected field borderWidth
Protected field curvesAsFitSpline (inherited from WriteDatabase).
Protected field foregroundColor The color saved as foreground color ( AutoCAD color index 7). (inherited from WriteDatabase).
Protected field lineTypes (inherited from WriteDatabase).
Protected field lineWeightUnits Gets or sets the units in which are expressed the line weights. (inherited from WriteDatabase).
Protected field materials (inherited from WriteDatabase).
Protected field purge If true, purges all unused layers, line types, text styles and blocks from the saved file. (inherited from WriteDatabase).
Protected field renderingMode
Protected field saveGeometry (inherited from WriteDatabase).
Protected field sheets (inherited from WriteDatabase).
Protected field textStyles (inherited from WriteDatabase).
Protected field textureImagesPath Gets or sets the path for the output texture images of materials. (inherited from WriteDatabase).
Protected field toolbarVisibility
Protected field transparentBackground
Protected field viewport (inherited from WriteDatabase).
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition