Class Document
PDF document.
Inheritance
System.Object
Document
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Codecrete.SwissQRBill.Generator.PDF
Assembly: Codecrete.SwissQRBill.Core.dll
Syntax
public class Document
Constructors
| Improve this Doc View SourceDocument(String)
Create a new instance with the specified title.
Declaration
public Document(string title)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | The title of the document. |
Methods
| Improve this Doc View SourceCreatePage(Single, Single)
Creates a new page with the specified dimensions.
Declaration
public Page CreatePage(float width, float height)
Parameters
Type | Name | Description |
---|---|---|
System.Single | width | The width, in point. |
System.Single | height | The height, in point. |
Returns
Type | Description |
---|---|
Page |
Save(Stream)
Saves the document to the specified stream.
Declaration
public void Save(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream. |