RhinoCommon API
TextLog Class |
Used for collecting text data
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
The TextLog type exposes the following members.
| Name | Description | |
|---|---|---|
| TextLog |
Creates a text log that stores all text in memory. Use ToString on this
version of the TextLog to get the text that we written
| |
| TextLog(String) |
Creates a text log that writes all text to a file. If no filename is
provided, then text is written to StdOut
| |
| TextLog(IntPtr) | Initializes a new instance of the TextLog class |
| Name | Description | |
|---|---|---|
| IndentSize |
0: one tab per indent. >0: number of spaces per indent
|
| Name | Description | |
|---|---|---|
| Dispose |
Actively reclaims unmanaged resources that this instance uses.
| |
| Dispose(Boolean) |
For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method. You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true. Also, you must call the base virtual method within your overriding method. | |
| Equals | (Inherited from Object.) | |
| Finalize |
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| PopIndent |
Decrease the indentation level
| |
| Print(String) |
Send text to the textlog
| |
| Print(String, Object) |
Send formatted text to the textlog
| |
| Print(String, Object, Object) |
Send formatted text to the textlog
| |
| PrintWrappedText |
Send text wrapped at a set line length
| |
| PushIndent |
Increase the indentation level
| |
| ToString |
If the TextLog was constructed using the empty constructor, then the text
information is stored in a runtime string. The contents of this string
is retrieved using ToString for this case
(Overrides ObjectToString.) |