RtfPdfExportOptions
OfficeIMO.Rtf.Pdf
Controls conversion from an RTF document model to a first-party PDF document.
Inheritance
- object
- RtfPdfExportOptions
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method RtfPdfExportOptions.Clone
Accepted by parameters 4
Constructors
Methods
public RtfPdfExportOptions Clone() #Returns a normalized copy with valid dimensions and independent PDF options.
Returns
RtfPdfExportOptionsInherited Methods
Properties
public bool FailOnLoss { get; set; } #Rejects fidelity loss before returning PDF or writing its destination.
public PdfCreateOptions? PdfOptions { get; set; } #Optional PDF engine options. The converter clones the instance before applying RTF page setup.
public PdfTextFallbackFeatures TextFallbacks { get; set; } #Built-in generated-text fallback groups. Set to None for exact document-font output.
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 bool 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 bool IncludeMetadata { get; set; } #When true, RTF title, author, subject, and keywords are copied to PDF metadata.
public bool IncludeTables { get; set; } #When true, RTF tables are converted to PDF tables.
public bool IncludeNotes { get; set; } #When true, footnote, endnote, and annotation bodies referenced by runs are appended to PDF output.
public int 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 int DefaultMaximumSystemFontFamilies #Default number of distinct document font families allowed to probe installed system fonts.
32