Interface IPdfWriter
Defines the basic interace of the various writers.
Namespace: Syncfusion.Pdf.IO
Assembly: Syncfusion.Pdf.UWP.dll
Syntax
public interface IPdfWriter
Properties
Document
The document required for saving process.
Declaration
PdfDocumentBase Document { get; set; }
Property Value
Type |
---|
PdfDocumentBase |
Length
Stream length.
Declaration
long Length { get; }
Property Value
Type |
---|
System.Int64 |
Position
Gets or sets the current position within the stream.
Declaration
long Position { get; set; }
Property Value
Type |
---|
System.Int64 |
Methods
Write(IPdfPrimitive)
Writes the specified PDF object.
Declaration
void Write(IPdfPrimitive pdfObject)
Parameters
Type | Name | Description |
---|---|---|
IPdfPrimitive | pdfObject | The PDF object. |
Write(Byte[])
Writes the specified data.
Declaration
void Write(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | The data. |
Write(Char[])
Writes the specified text.
Declaration
void Write(char[] text)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | text | The text. |
Write(Int64)
Writes the specified number.
Declaration
void Write(long number)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | number | The number. |
Write(Single)
Writes the specified number.
Declaration
void Write(float number)
Parameters
Type | Name | Description |
---|---|---|
System.Single | number | The number. |
Write(String)
Writes the specified text.
Declaration
void Write(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text. |