DocumentWriter

Represents a writer class for a document.

public abstract class DocumentWriter
Public MustInherit Class DocumentWriter

Inheritance: ObjectDocumentWriter

Licensing Info

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Constructors

DocumentWriter(Document)Initializes a new instance of the DocumentWriter class.

Properties

CreationDateGets document creation time.
CurrentSectionGets the current Section.
DocumentGets the current document.
FontSubsetterGets the current font subsetter.
ModifiedDateGets document modified time.
ResourcesGets a resource list for the document.

Methods

ClearFontSubsetter()Clears the current font subsetter.
Draw()Initiates the actual drawing of the PDF .
Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetObjectNumber()Gets the indirect object number of the current indirect object.
GetObjectNumber(Int32)Gets the indirect object number of the current indirect object.
GetPageObject(Int32)Returns the indirect object number for the given page.
GetType()Gets the Type of the current instance.
(Inherited from Object)
SetFontSubsetter(IFontSubsettable)Sets the current font subsetter.
ToString()Returns a String that represents the current Object .
(Inherited from Object)
Write(Byte[])Writes a byte array to the document.
Write(Byte[], Int32)Writes a portion of a byte array to the document.
Write(Byte[], Int32, Int32)Writes a portion of a byte array to the document.
WriteArrayClose()Closes a PDF array on the document
WriteArrayOpen()Opens a PDF array on the document.
WriteBeginObject()Begins a PDF object on the document.
WriteBoolean(Boolean)Writes a boolean value to the document.
WriteDictionaryClose()Closes a dictionary entry on the document.
WriteDictionaryOpen()Opens a dictionary entry on the document.
WriteEndObject()Closes a PDF object on the document.
WriteName(Byte)Writes a byte to the document.
WriteName(Byte, Int32)Writes a byte to the document.
WriteName(Byte[])Writes a byte array to the document.
WriteName(Byte[], Int32, Int32)Writes a portion of the byte array to the document.
WriteName(Byte[], String)Writes a byte array to the document.
WriteName(String)Writes a string to the document.
WriteNull()Writes a null value to the document.
WriteNumber(Byte[], Int32, Int32)Writes a number to the document.
WriteNumber(Int16)Writes a short to the document.
WriteNumber(Int32)Writes an integer to the document.
WriteNumber(Single)Writes a float to the document.
WriteNumber0()Writes the number 0 to the document.
WriteNumber1()Writes the number 1 to the document.
WriteNumberColor(Single)Writes a color value to the document.
WriteNumberNeg1()Writes a negative 1 to the document.
WriteReference(Int32)Writes a resource reference to the document.
WriteReference(Resource)Writes a reference to the supplied resource to the document.
WriteReferenceShallow(Int32)Writes a shallow resource reference to the document.
WriteReferenceShallow(Resource)Writes a shallow reference to the supplied resource to the document.
WriteReferenceUnique(Resource)Writes a unique reference to the supplied resource to the document.
WriteStream(Byte[], Int32)Writes a PDF stream object to the document.
WriteStream(Byte[], Int32, Int32)Writes a PDF stream object to the document.
WriteStreamWithCompression(Byte[], Int32)Writes a PDF stream object to the document.
WriteText(Byte[])Writes a PDF text object to the document.
WriteText(String)Writes a PDF text object to the document.
WriteTextRawWithoutEncryption(Byte[], Int32, Int32)Writes a raw PDF text object to the document without any encryption.
WriteTextWithoutEncryption(Byte[])Writes a PDF text object to the document without any encryption.

See Also

ceTe.DynamicPDF.IO

In this topic