Show / Hide Table of Contents

Class PrintFileTXT

It represents a plain text file that will be printed at the client side.

Inheritance
System.Object
PrintFile
PrintFileDuplexable
PrintFileTXT
Inherited Members
PrintFileDuplexable.PrintRange
PrintFileDuplexable.PrintInReverseOrder
PrintFileDuplexable.ManualDuplex
PrintFileDuplexable.ManualDuplexMessage
PrintFile.FileContent
PrintFile.FileContentType
PrintFile.FileName
PrintFile.Copies
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.Blazor
Assembly: cs.temp.dll.dll
Syntax
public class PrintFileTXT : PrintFileDuplexable

Properties

FileFormat

Declaration
public override string FileFormat { get; }
Property Value
Type Description
System.String
Overrides
PrintFile.FileFormat

FontBold

Gets or sets whether the text is bold. Default is False.

Declaration
public bool FontBold { get; set; }
Property Value
Type Description
System.Boolean

FontItalic

Gets or sets whether the text has the italic style applied. Default is False.

Declaration
public bool FontItalic { get; set; }
Property Value
Type Description
System.Boolean

FontName

Gets or sets the font name.

Declaration
public string FontName { get; set; }
Property Value
Type Description
System.String

FontSizeInPoints

Gets or sets the font size in Points unit. Default is 10pt.

Declaration
public double FontSizeInPoints { get; set; }
Property Value
Type Description
System.Double

FontStrikeThrough

Gets or sets whether the text is printed with a horizontal line through it. Default is False.

Declaration
public bool FontStrikeThrough { get; set; }
Property Value
Type Description
System.Boolean

FontUnderline

Gets or sets whether the text is underlined. Default is False.

Declaration
public bool FontUnderline { get; set; }
Property Value
Type Description
System.Boolean

MarginBottom

Gets or sets the bottom margin for the printed text. Value must be specified in Inch unit. Default is 0.5in

Declaration
public double MarginBottom { get; set; }
Property Value
Type Description
System.Double

MarginLeft

Gets or sets the left margin for the printed text. Value must be specified in Inch unit. Default is 0.5in

Declaration
public double MarginLeft { get; set; }
Property Value
Type Description
System.Double

MarginRight

Gets or sets the right margin for the printed text. Value must be specified in Inch unit. Default is 0.5in

Declaration
public double MarginRight { get; set; }
Property Value
Type Description
System.Double

MarginTop

Gets or sets the top margin for the printed text. Value must be specified in Inch unit. Default is 0.5in

Declaration
public double MarginTop { get; set; }
Property Value
Type Description
System.Double

PrintOrientation

Gets or sets the print orientation. Default is Portrait.

Declaration
public PrintOrientation PrintOrientation { get; set; }
Property Value
Type Description
PrintOrientation

TextAlignment

Gets or sets the alignment of the text content. Default is Left alignment.

Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type Description
TextAlignment

TextColor

Gets or sets the Color for the printed text. Color must be specified in Hex notation for RGB channels respectively e.g. #rgb or #rrggbb. Default is #000000.

Declaration
public string TextColor { get; set; }
Property Value
Type Description
System.String
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com