Sheet Class

Drawings sheet class definition.
Public Class Sheet 
Implements ISerializable, _ 
IKeyedCollectionDisposableItem(Of Sheet)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Name Description
Protected constructor Sheet(Sheet)
Public constructor Sheet(SerializationInfo, StreamingContext) Constructor for deserializing objects.
Public constructor Sheet(linearUnitsType, double, double, string) Standard constructor.
Top
Name Description
Public property Camera
Public property Entities
Public property Height Gets or sets sheet height.
Public property Name Gets or sets sheet name.
Public property Units Gets the measurement system type for the sheet.
Public property Width Gets or sets sheet width.
Top
Methods
 
Name Description
Public method AddViewPlaceHolder(View, Model, Drawings, string) Creates a block with the placeholder entities, adds it to the Drawings and adds the View to the Entities if not already present.
Public method BuildA0ISO(out Block, string, Nullable<Color>) Creates the block for A0 ISO format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildA1ISO(out Block, string, Nullable<Color>) Creates the block for A1 ISO format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildA2ISO(out Block, string, Nullable<Color>) Creates the block for A2 ISO format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildA3ISO(out Block, string, Nullable<Color>) Creates the block for A3 ISO format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildA4ISO(out Block, string, Nullable<Color>) Creates the block for A4 ISO format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildA4LANDSCAPEISO(out Block, string, Nullable<Color>) Creates the block for A4 LANDSCAPE ISO format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildAANSI(out Block, string, Nullable<Color>) Creates the block for A ANSI format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildALANDSCAPEANSI(out Block, string, Nullable<Color>) Creates the block for A LANDSCAPE ANSI format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildBANSI(out Block, string, Nullable<Color>) Creates the block for B ANSI format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildBillOfMaterials(Model, Point3D, string, string, string, string, out Block, string, bool, flowDirection, int) Creates a block with the Bill Of Materials table.
Public method BuildCANSI(out Block, string, Nullable<Color>) Creates the block for C ANSI format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildDANSI(out Block, string, Nullable<Color>) Creates the block for D ANSI format and adds the related BlockReference to the Sheet Entities collection.
Public method BuildEANSI(out Block, string, Nullable<Color>) Creates the block for E ANSI format and adds the related BlockReference to the Sheet Entities collection.
Protected method BuildFormatBlock(string, IList<Entity>, out Block) Creates the format block.
Public method Clone() Creates a deep copy of this entity.
Public method ConvertToSurrogate()
Protected method CreateBorder(double, double, int, int, Nullable<Color>, float, double, double, bool, float) Creates the drawing border.
Protected method CreateBorderHorizontalTexts(double, double, int, int, Nullable<Color>, float, double, double, bool, bool) Creates horizontal texts for the drawing border.
Protected method CreateBorderSeparators(double, double, int, int, Nullable<Color>, float, double) Creates the separator lines inside the drawing borders.
Protected method CreateBorderVerticalTexts(double, double, int, int, Nullable<Color>, float, double, double, bool, bool) Creates vertical texts for the drawing border.
Protected method CreateTitleBlock(double, Color, float) Creates the title block of the drawing border starting from the bottom-right corner.
Public method Dispose() Cleans up graphics resources, like display lists, etc.
Public method Equals(Sheet)
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 GetKey() Gets the key for the item of the collection.
Protected method GetLogo() Gets the logo for the title block.
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method HasChanged(BlockKeyedCollection) Indicates whether some views must be updated or not. (Optional) Checks also if exists the related block for each BlockReference.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method OnKeyChanged(string, string) When the Name changes I need to notify it to the related keyed collections before changing it.
Public method Rebuild(Model, Drawings, bool, bool) Rebuilds outdated views on this sheet.
Public method SetKey(string) Sets the key for the item of the collection.
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Events
 
Name Description
Public event KeyChanged Occurs when the Name changes.
Top

.NET Framework

Supported in: 4.8

In this article

Definition