ExportFloatingShapesAsInlineTag
Contents
[
Hide
]PdfSaveOptions.ExportFloatingShapesAsInlineTag property
Gets or sets a value determining whether floating shapes are exported as inline tags in the document structure.
public bool ExportFloatingShapesAsInlineTag { get; set; }
Remarks
Default value is false
and floating shapes will be exported as block-level tags, placed after the paragraph in which they are anchored.
When the value is true
floating shapes will be exported as inline tags, placed within the paragraph where they are anchored.
This value is ignored when ExportDocumentStructure
is false
.
Examples
Shows how to export floating shapes as inline tags.
Document doc = new Document(MyDir + "Floating object.docx");
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.ExportFloatingShapesAsInlineTag = true;
doc.Save(ArtifactsDir + "PdfSaveOptions.ExportFloatingShapesAsInlineTag.pdf", saveOptions);
See Also
- class PdfSaveOptions
- namespace Aspose.Words.Saving
- assembly Aspose.Words