Skip to main content

DocxExportOptions.AllowFloatingPictures Property

Specifies whether to embed floating pictures into exported DOCX files.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

[DefaultValue(false)]
public bool AllowFloatingPictures { get; set; }

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 AllowFloatingPictures
ExportOptions
.Docx .AllowFloatingPictures

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:

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 BorderSide.None or the BorderWidth property is set to 0).

See Also