DocxExportOptions.AllowFloatingPictures Property
Specifies whether to embed floating pictures into exported DOCX files.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, to embed floating pictures into DOCX files; otherwise, false. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Allow |
---|---|
Export |
|
#Remarks
When the AllowFloatingPictures property is set to false (the default value), floating pictures are not embedded into resulting DOCX files. This increases export performance for documents with a lot of pictures.
You can set this property to true to embed floating pictures into exported DOCX files.
This property is in effect only when the following settings are applied:
- DocxExportOptions.ExportMode is set to DocxExportMode.SingleFilePageByPage
- DocxExportOptions.TableLayout is set to false
Note
Only pictures that have no borders can be exported to DOCX as floating objects (that is, the picture’s Borders property is set to Border