Interface INCBlockOwner
An interface that provides limited access to some methods of the owner object of the NCBlock. Usually this is a TTextNCFile to which the output string should be written.
Namespace: DotnetPostprocessing.SDK
Assembly: DotnetPostprocessing.SDK.dll
Syntax
public interface INCBlockOwner
Methods
Write(string, INCLabel)
Writes the specified string to a file. No line break is added. If the "label" parameter is not "null", then the string will be written to the position this label points to. Otherwise, the text will be written to the end of the file.
Declaration
void Write(string s, INCLabel label)
Parameters
Type | Name | Description |
---|---|---|
string | s | The string you want to write. |
INCLabel | label | The label determines position in the file to which the string will be written. |
Write(string)
Writes the specified string to a file. No line break is added. If the DefaultLabel property is not "null", then the string will be written to the position this label points to. Otherwise, the text will be written to the end of the file.
Declaration
void Write(string s)
Parameters
Type | Name | Description |
---|---|---|
string | s | The string you want to write. |
WriteLine(string, INCLabel)
Writes the specified string to the file with a line break. If the "label" parameter is not "null", then the string will be written to the position this label points to. Otherwise, the text will be written to the end of the file.
Declaration
void WriteLine(string s, INCLabel label)
Parameters
Type | Name | Description |
---|---|---|
string | s | The string you want to write. |
INCLabel | label | The label determines position in the file to which the string will be written. |
WriteLine(string)
Writes the specified string to the file with a line break. If the DefaultLabel property is not "null", then the string will be written to the position this label points to. Otherwise, the text will be written to the end of the file.
Declaration
void WriteLine(string s)
Parameters
Type | Name | Description |
---|---|---|
string | s | The string you want to write. |