menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfWriter - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfWriter

    Inheritance
    System.Object
    PdfWriter
    Implements
    IPdfWriter
    System.IDisposable
    Namespace: Syncfusion.Pdf.IO
    Assembly: Syncfusion.Pdf.UWP.dll
    Syntax
    public class PdfWriter : Object, IPdfWriter, IDisposable

    Properties

    Document

    Gets or Sets the document required for saving process.

    Declaration
    public PdfDocumentBase Document { get; set; }
    Property Value
    Type
    PdfDocumentBase

    Length

    Gets stream length.

    Declaration
    public long Length { get; }
    Property Value
    Type
    System.Int64

    Position

    Gets or sets the current position within the stream.

    Declaration
    public long Position { get; set; }
    Property Value
    Type
    System.Int64

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Write(IPdfPrimitive)

    Writes the specified PDF object.

    Declaration
    public void Write(IPdfPrimitive pdfObject)
    Parameters
    Type Name Description
    IPdfPrimitive pdfObject

    The PDF object.

    Write(Byte[])

    Writes the specified data.

    Declaration
    public void Write(byte[] data)
    Parameters
    Type Name Description
    System.Byte[] data

    The data.

    Write(Char[])

    Writes the specified text.

    Declaration
    public void Write(char[] text)
    Parameters
    Type Name Description
    System.Char[] text

    The text.

    Write(Int64)

    Writes the specified number.

    Declaration
    public void Write(long number)
    Parameters
    Type Name Description
    System.Int64 number

    The number.

    Write(Single)

    Writes the specified number.

    Declaration
    public void Write(float number)
    Parameters
    Type Name Description
    System.Single number

    The number.

    Write(String)

    Writes the specified text.

    Declaration
    public void Write(string text)
    Parameters
    Type Name Description
    System.String text

    The text.

    Implements

    IPdfWriter
    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved