Class Appli.Document
Represents a pricing document template which is used by the KitchenDraw software to generate pricing documents (e.g. estimates, purchase orders, invoices, etc.).
Implements
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Appli.Document : IEquatable<Appli.Document>
Remarks
The document template is a compound object, it may contain one or several subdocuments, called items, which are represented by separate Word document files. Thus, each document is generated from one or more items.
Properties
Name | Description |
---|---|
CopiesNb | Number of copies by default attached to the pricing document. |
Items | |
Name | Name of the document such as it appears in the "Documents" dialog box. |
PrinterName | Name of the printer to which the document is attached. |
Rank | Rank of the document in the application's document list. |
Type | Type of the document. |
Methods
Name | Description |
---|---|
Equals(object) | Determines whether passed object has the same type and value as this one. |
GetHashCode() | Provides a numeric value that is used to identify an object in hash-based algorithms. |
GetInfo(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
GetInfoAsBool(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
GetInfoAsDouble(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
GetInfoAsInt(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
ToString() | Returns a string that represents the current object. |
Operators
Name | Description |
---|---|
operator ==(Document, Document) | Determines whether two specified instances have the same value. |
operator !=(Document, Document) | Determines whether two specified instances have different values. |