API Reference
RtfToPdfOptions
Controls conversion from an RTF document model to a first-party PDF document.
Inheritance
- Object
- RtfToPdfOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method RtfPdfConverterExtensions.SaveAsPdf
- Method RtfPdfConverterExtensions.SaveAsPdf
- Method RtfPdfConverterExtensions.SaveAsPdfAsync
- Method RtfPdfConverterExtensions.SaveAsPdfAsync
- Method RtfPdfConverterExtensions.SaveAsPdfResult
- Method RtfPdfConverterExtensions.SaveAsPdfResult
- Method RtfPdfConverterExtensions.SaveAsPdfResultAsync
- Method RtfPdfConverterExtensions.SaveAsPdfResultAsync
- Method RtfPdfConverterExtensions.ToPdfBytes
- Method RtfPdfConverterExtensions.ToPdfDocument
- Method RtfPdfConverterExtensions.ToPdfDocumentResult
Constructors
public RtfToPdfOptions() #Creates RTF to PDF save options.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public PdfOptions PdfOptions { get; set; } #Optional PDF engine options. The converter clones the instance before applying RTF page setup.
public PdfResourcePolicy ResourcePolicy { get; set; } #Host-resource policy. Defaults to balanced conversion: system fonts and bounded in-source resources are allowed, while local and remote reads are denied.
public Boolean IncludeImages { get; set; } #When true, supported top-level and inline PNG/JPEG images are emitted to the PDF.
public Func<RtfImage, Byte[]> ImageConverter { get; set; } #Optional converter for image formats that the managed drawing layer cannot rasterize, such as WMF and EMF. The callback must return a raster payload supported by the shared Drawing-to-PDF pipeline, or null when it cannot convert the image.
public Double DefaultImageWidth { get; set; } #Default image width in PDF points when the RTF image does not carry a desired width.
public Double DefaultImageHeight { get; set; } #Default image height in PDF points when the RTF image does not carry a desired height.
public Boolean IncludeMetadata { get; set; } #When true, RTF title, author, subject, and keywords are copied to PDF metadata.
public Boolean IncludeTables { get; set; } #When true, RTF tables are converted to PDF tables.
public Boolean IncludeNotes { get; set; } #When true, footnote, endnote, and annotation bodies referenced by runs are appended to PDF output.
public Int32 MaximumSystemFontFamilies { get; set; } #Maximum number of distinct RTF font families allowed to trigger installed-font resolution. Additional families use dependency-free PDF fallbacks. Set to zero to disable system-font probes.
Fields
public const Int32 DefaultMaximumSystemFontFamilies #Default number of distinct document font families allowed to probe installed system fonts.
32