Class PrintFile
It represents a file that will be printed at the client side.
Inheritance
System.Object
PrintFile
Inherited Members
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 PrintFile
Properties
Copies
Gets or sets the num of copies for printing this file. Default is 1.
Declaration
public int Copies { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DocName
Gets or sets the name of the document shown by the print queue. Default is the file name.
Declaration
public string DocName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileContent
Gets or sets the file content. Byte array (buffer), URL/path, plain Text, or Base64.
Declaration
public object FileContent { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
FileContentType
Gets or sets the file content type.
Declaration
public FileSourceType FileContentType { get; set; }
Property Value
Type | Description |
---|---|
FileSourceType |
FileFormat
Gets the file format.
Declaration
public virtual string FileFormat { get; }
Property Value
Type | Description |
---|---|
System.String |
FileName
Gets or sets the file name that will be created at the client side. It must include the file extension like .pdf, .txt, .doc, .xls, etc.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |