Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Writer Namespace / PdfStreamWriterBase Class
Fields Properties Methods

In This Topic
    PdfStreamWriterBase Class Members
    In This Topic

    The following tables list the members exposed by PdfStreamWriterBase.

    Public Fields
     NameDescription
    Public FieldThe GrapeCity.Documents.Pdf.GcPdfDocument object content of which is written.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets a GrapeCity.Documents.Pdf.Spec.PdfObjID structure defining ID of PDF object currently written to the stream, used to encrypt strings. By default returns GrapeCity.Documents.Pdf.Spec.PdfObjID.Empty.  
    Public PropertyGets or sets the underlying stream.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds dictionary entries, skips entries with name in propsToSkip.  
    Public MethodAdds dictionary entries except for "Length" entry.  
    Public MethodAdds dictionary entries except for "Length", "Filter" and "DecodeParms" entries.  
    Public MethodOverloaded. Adds a dictionary entry with PDF bool value.  
    Public MethodAdds a dictionary entry with PDF array value, does nothing if value is null, writes empty PDF array if value has no items.  
    Public MethodAdds a dictionary entry with PDF string value written as HEX string: <F1A0>  
    Public MethodAdds a dictionary entry with PDF name value, the entry is added only if value is not null and not empty.  
    Public MethodAdds a dictionary entry with PDF name array.  
    Public MethodAdds a dictionary entry with PDF name array.  
    Public MethodOverloaded. Adds a dictionary entry with PDF reference.  
    Public MethodAdds a dictionary entry with "placeholder" (spaces) the actual value should be written later, used when generating linearized PDF stream.  
    Public MethodAdds a dictionary entry with PDF rich string value, see PDF specification for details about Rich text in PDF.  
    Public MethodOverloaded. Adds a dictionary entry with PDF string value. If string contains chars with code greater than 126 it encoded as unicode. The string is encrypted if an encryption specified for document.  
    Public MethodAdds a dictionary entry with PDF string value. If string contains chars with code greater than 126 it encoded as unicode. The string is encrypted if an encryption specified for document.  
    Public MethodStarts a PDF array, should be enclosed with EndArray.  
    Public MethodStarts a PDF dictionary entry with array value, should be enclosed with EndArrayEntry.  
    Public MethodStarts a PDF dictionary, should be enclosed with EndDict.  
    Public MethodStarts a PDF dictionary entry with nested dictionary value, should be enclosed with EndDictEntry.  
    Public MethodStarts a PDF dictionary entry, should be enclosed with EndEntry.  
    Public MethodEnds a PDF array started with BeginArray.  
    Public MethodEnds a PDF dictionary entry started with BeginArrayEntry.  
    Public MethodEnds a PDF dictionary started with BeginDict.  
    Public MethodEnds a PDF dictionary entry started with BeginDictEntry.  
    Public MethodEnds a PDF dictionary entry started with BeginEntry.  
    Public MethodFlushes all data to the underlying stream.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts specified float to string which can be written to PDF stream.  
    Public Methodstatic (Shared in Visual Basic)Converts specified integer to string which can be written to PDF stream.  
    Public Methodstatic (Shared in Visual Basic)Converts specified long to string which can be written to PDF stream.  
    Public Methodstatic (Shared in Visual Basic)Converts specified uint to string which can be written to PDF stream.  
    Public MethodFor internal use only. Gets the Position on the underlying stream.  
    Public MethodSets the position within the underlying stream.  
    Public MethodOverloaded. Writes content of specified stream.  
    Public MethodWrites a bool value.  
    Public MethodWrites a single byte.  
    Public MethodWrites specified count of bytes to the stream.  
    Public MethodWrites a System.Drawing.Color value as sequence of 3 numbers R, G, B. NOTE! alpha channel is NOT written.  
    Public MethodWrites the CRLF, resets GrapeCity.Documents.Pdf.Writer.PdfStreamWriterBase.NeedDelimiter.  
    Public MethodWrites the (space) if GrapeCity.Documents.Pdf.Writer.PdfStreamWriterBase.NeedDelimiter is true, resets GrapeCity.Documents.Pdf.Writer.PdfStreamWriterBase.NeedDelimiter.  
    Public MethodWrites a double value.  
    Public MethodOverloaded. Writes a float value.  
    Public MethodWrites a float array, writes a null if value is null.  
    Public MethodWrites a string as PDF HEX string, like <FF01>. Note! String is encrypted if encrypt is true and encryption is specified for the document. Note! If value is null or empty then empty '()' PDF string is written.  
    Public MethodWrites an integer value.  
    Public MethodWrites an integer value.  
    Public MethodWrites a string and adds CRLF after, each char of the string converted to byte.  
    Public MethodWrites a long value.  
    Public MethodWrites a long value.  
    Public MethodOverloaded. Writes a string as PDF name value, like "/name".  
    Public MethodWrites a NULL value.  
    Public MethodWrites an GrapeCity.Documents.Common.Offsets structure as 4 float values.  
    Public MethodWrites a GrapeCity.Documents.Pdf.PdfDateTime value, the value is encoded as it defined in chapter 3.8.3 Dates of PdfSpec 1.7.  
    Public MethodWrites a placeholder to the PDF stream and returns its offset.  
    Public MethodWrites a System.Drawing.RectangleF structure as 4 float values Left, Top, Width, Height.  
    Public MethodWrites a System.Drawing.RectangleF structure as 4 float values Left, Top, Right, Bottom.  
    Public MethodOverloaded. Writes a PDF reference like "10 0 R".  
    Public MethodOverloaded. Writes a string as PDF string, like "(BlaBla)". Note! String is encrypted if encrypt is true and encryption is specified for the document. Note! If value is null or empty then empty "()" PDF string is written.  
    Public MethodWrites an uint value.  
    Top
    See Also