Specifies options that are used to perform output to the external Canvas.
property PrintOptions: TSyntMemoPrintOptions;
PrintOptions property is a set of TSyntMemoPrintOptions. Each flag of this set specifies separate boolean property.
PrintOptions are used by the TecSyntPrinter, but they may be used to perform output to any external Canvas. PrintOptions must be defined before ProcessLine method call if you pass external canvas to this method. PrintOptions are not used by the syntax memo itself, when memo's canvas is passed to the ProcessLine.
PrintOptions also contains options that are significant only for the TecSyntPrinter: mpLineNumbers, mpHideCollapsed.
|
Flag |
Meaning |
|
mpWordWrap |
Performs word-wrap on the right printing side |
|
mpLineHighlight |
Allows line highlighting |
|
mpBlockHighlight |
Allows block highlighting |
|
mpBackColor |
Allows background color, otherwise background is transparent |
|
mpLineNumbers |
Prints line numbers at the left of the page |
|
mpHideCollapsed |
Does not print lines that are collapsed in the editor |
|
Copyright (c) 2004-2011. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|