Class
PdfStreamWriterSettings

Configures how PDF output is produced during streaming (compression, image quality, metadata, and annotation handling).

Definition

Namespace:Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Streaming

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class PdfStreamWriterSettings

Inheritance: objectPdfStreamWriterSettings

Properties

DocumentInfo

Gets document metadata that will be written to the PDF (for example, Title and Author).

Declaration

cs-api-definition
public RadFixedDocumentInfo DocumentInfo { get; }

Property Value

RadFixedDocumentInfo

ImageCompression

Gets or sets the compression filters applied to images embedded in the PDF.

Declaration

cs-api-definition
public ImageFilterTypes[] ImageCompression { get; set; }

Property Value

ImageFilterTypes[]

ImageQuality

Gets or sets the default image quality when exporting images to PDF. The default value is High.

The value of this property will be overridden when specifying the ImageQuality in ImageSource constructor or when creating ImageSource from EncodedImageData. The higher the quality, the bigger the document size.

Declaration

cs-api-definition
public ImageQuality ImageQuality { get; set; }

Property Value

ImageQuality

The image quality.

StreamCompression

Gets or sets the compression filters applied to page content streams, affecting size and performance.

Declaration

cs-api-definition
public StreamFilterTypes[] StreamCompression { get; set; }

Property Value

StreamFilterTypes[]

WriteAnnotations

Gets or sets whether annotations are included in the output PDF.

Declaration

cs-api-definition
public bool WriteAnnotations { get; set; }

Property Value

bool

Value indication whether to write annotations.

Events

MergedFieldNameResolving

Raised when resolving conflicts between form field names while merging instances with duplicate names.

Declaration

cs-api-definition
public event EventHandler<MergedFormFieldNameResolvingEventArgs> MergedFieldNameResolving

Event Value

EventHandler<MergedFormFieldNameResolvingEventArgs>