共用方式為


PDFFontEmbedding Property

Specifies whether fonts are embedded in PDF files that are generated for reports.

Applies To

  • Reports

    Note

    This property only applies when the report uses an RDLC report layout at runtime. This property is ignored when a Word report layout is used.

Property Value

Option Description

Default

Uses the Report PDF Embedding setting of the Microsoft Dynamics NAV Server instance to determine whether fonts are embedded in PDF files. For more information, see Configuring Microsoft Dynamics NAV Server.

This is the default setting.

No

Fonts are not embedded in PDF files.

Yes

Fonts are embedded in PDF files.

Remarks

This property applies when an RDLC report is saved as a PDF under the following circumstances:

  • On the Microsoft Dynamics NAV client when the user chooses to save a report as PDF from the report's request page or print preview.

    Note

    This property is ignored when a report is saved as PDF from the print preview in the Microsoft Dynamics NAV Web client. In this case, the Microsoft Dynamics NAV Server instance setting is always used.

  • On Microsoft Dynamics NAV Server by the SAVEAS Function or SAVEASPDF Function (Report).

Embedding fonts in a PDF of a report makes sure that the PDF will use the same fonts as the original file, regardless of where the PDF is opened and which fonts are installed on the computer. However, embedding fonts can significantly increase the size of the PDF files. By disabling font embedding, you can decrease the size of the report PDF files.

See Also

Concepts

Running Reports