Class PdfStreamWriter
Represents PDF file stream that writes file content directly to a given stream.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Streaming
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public sealed class PdfStreamWriter : IDisposable
Constructors
PdfStreamWriter(Stream)
Initializes a new instance of the PdfStreamWriter class.
Declaration
public PdfStreamWriter(Stream stream)
Parameters
System.IO.Stream
stream
The stream. |
PdfStreamWriter(Stream, Boolean)
Initializes a new instance of the PdfStreamWriter class.
Declaration
public PdfStreamWriter(Stream stream, bool leaveStreamOpen)
Parameters
System.IO.Stream
stream
The stream. |
System.Boolean
leaveStreamOpen
Boolean value indicating whether or not to close the stream after PdfStreamWriter instance is disposed. |
Properties
Settings
The settings
Declaration
public PdfStreamWriterSettings Settings { get; }
Property Value
PdfStreamWriterSettings
|
Methods
BeginPage(Rect, Rect, Rotation)
Begins the page.
Declaration
public PdfPageStreamWriter BeginPage(Rect mediaBox, Rect cropBox, Rotation rotation)
Parameters
System.Windows.Rect
mediaBox
Defines the boundaries of the physical medium on which the page is intended to be displayed or printed. |
System.Windows.Rect
cropBox
Defines the boundaries of the visible region of the page. When the page is displayed or printed, its contents are to be clipped (cropped) to this rectangle. |
Rotation
rotation
The rotation. |
Returns
PdfPageStreamWriter
The page stream. |
BeginPage(Size)
Begins the page.
Declaration
public PdfPageStreamWriter BeginPage(Size pageSize)
Parameters
System.Windows.Size
pageSize
Size of the page. |
Returns
PdfPageStreamWriter
The page stream. |
BeginPage(Size, Rotation)
Begins the page.
Declaration
public PdfPageStreamWriter BeginPage(Size pageSize, Rotation rotation)
Parameters
System.Windows.Size
pageSize
Size of the page. |
Rotation
rotation
The rotation. |
Returns
PdfPageStreamWriter
The page stream. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
WritePage(PdfPageSource)
Writes the page.
Declaration
public void WritePage(PdfPageSource pageSource)
Parameters
PdfPageSource
pageSource
The page source. |
WritePage(RadFixedPage)
Writes the page.
Declaration
public void WritePage(RadFixedPage page)
Parameters
RadFixedPage
page
The page. |