PdfPageStreamWriter
Writes a single page’s content directly to a stream in a streaming workflow; content is flushed when the writer is disposed.
Definition
Namespace:Telerik.Documents.Fixed.FormatProviders.Pdf.Streaming
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public sealed class PdfPageStreamWriter : IDisposable
Inheritance: objectPdfPageStreamWriter
Implements:
Properties
Gets or sets the current content position within the page coordinate system, affecting subsequent drawings.
public IPosition ContentPosition { get; set; }
CropBox
Rect
The rectangle defining the visible region of the page; content outside this area is clipped when displayed or printed.
public Rect CropBox { get; }
MediaBox
Rect
The rectangle defining the boundaries of the physical medium on which the page is intended to be displayed or printed.
public Rect MediaBox { get; }
The page rotation applied during display or printing.
public Rotation PageRotation { get; }
PageSize
Size
The size of the physical medium on which the page is intended to be displayed or printed.
public Size PageSize { get; }
Methods
Finalizes the page and writes its content to the underlying stream, then releases resources.
public void Dispose()
Implements:
Saves the current content position and returns an IDisposable that restores it when disposed.
public IDisposable SaveContentPosition()
IDisposable action that restores the position when disposed.
Writes the content of the specified PdfPageSource to the current page stream.
public void WriteContent(PdfPageSource pdfPageSource)
The PDF page source.
Writes the content of the specified RadFixedPage to the current page stream.