ViewBuilder Class

Class that computes geometry for view entity.
Public Class ViewBuilder 
Inherits WorkUnit 
Implements IDisposable
This language is not supported or no code example is available.
public class ViewBuilder : WorkUnit
IDisposable
This language is not supported or no code example is available.
Name Description
Public constructor ViewBuilder(Design, Drawing, View, Sheet) Standard constructor for a single view.
Public constructor ViewBuilder(Design, Drawing, bool) Standard constructor.
Top
Name Description
Public property BuildingViewSuffix Gets or sets the progress bar suffix text displayed while building the view when executed asynchronously. If null it shows the view name.
Public property BuildingViewText Gets or sets the progress bar text displayed while building the view when executed asynchronously.
Public property ExecutionTime Gets or sets the (last) work execution time in milliseconds. (inherited from WorkUnit).
Public property Log Gets the list of errors and warnings generated during execution. (inherited from WorkUnit).
Public property Status Gets the WorkUnit status. (inherited from WorkUnit).
Top
Methods
 
Name Description
Public method AddToDrawing(Drawing) Adds views and blocks to the drawing control.
Public method AppendToLog(string) Appends a message to the log. (inherited from WorkUnit).
Public method Cancelled(BackgroundWorker, DoWorkEventArgs) Checks if the user has requested cancellation of the background operation. (inherited from WorkUnit).
Public method Contains(View) Indicates whether a view is already in the queue to be processed or not.
Public method Dispose()
Public method DoWork(BackgroundWorker, DoWorkEventArgs) Does the actual work allowing progress bar update and cancellation.
Public method Equals(Object) (inherited from Object).
Protected method Finalize (inherited from Object).
Public method GetHashCode (inherited from Object).
Public method GetType (inherited from Object).
Protected method MemberwiseClone (inherited from Object).
Public method ResetProgress() Resets the progress. (inherited from WorkUnit).
Internal protected (Protected Friend) method ResetProgressParallel(int) Resets the progress bar for a parallel loop. (inherited from WorkUnit).
Internal protected (Protected Friend) method StartContinuousAnimation(string, BackgroundWorker, params string[]) Start the animation for the continuous progress bar. (inherited from WorkUnit).
Internal protected (Protected Friend) method StopContinuousAnimation(BackgroundWorker) Stop the animation for the continuous progress bar. (inherited from WorkUnit).
Public method ToString (inherited from Object).
Public method UpdateProgress(double, double, string, BackgroundWorker, bool, params string[]) Updates the progress bar value. (inherited from WorkUnit).
Public method UpdateProgress(int, int, string, BackgroundWorker, bool, params string[]) Updates the progress bar value. (inherited from WorkUnit).
Public method UpdateProgressAndCheckCancelled(int, int, string, BackgroundWorker, DoWorkEventArgs, bool, params string[]) Updates the progress bar value and checks if the worker thread has been canceled. (inherited from WorkUnit).
Public method UpdateProgressAndCheckCancelledParallel(int, string, BackgroundWorker, DoWorkEventArgs, params string[]) Updates the progress bar value and checks if the worker thread has been canceled, for a parallel loop. (inherited from WorkUnit).
Internal protected (Protected Friend) method UpdateProgressParallel(double, string, BackgroundWorker, params string[]) Updates the progress bar value for a parallel loop. (inherited from WorkUnit).
Internal protected (Protected Friend) method UpdateProgressTo100(string, BackgroundWorker, params string[]) Set the progress bar to 100% and forces screen update. (inherited from WorkUnit).
Public method WorkCancelled(object) Called when the work is cancelled. (inherited from WorkUnit).
Public method WorkCompleted(object) Called when the work has completed. In the case you are modeling something, the sender parameter allows you to easily add the content to the entities collection. (inherited from WorkUnit).
Public method WorkFailed(object) Called when the work has failed. (inherited from WorkUnit).
Top
Events
 
Name Description
Public event ProgressChanged Occurs when the DoWork() is called synchronously and the progress has changed. (inherited from WorkUnit).
Top
Fields
 
Name Description
Internal protected (Protected Friend) field log (inherited from WorkUnit).
Top
devDept.Eyeshot.ViewBuilder

.NET Framework

Supported in: 4.7.2

In this article

Definition