ShowPageBorder
SvgSaveOptions.ShowPageBorder property
Controls whether a border is added to the outline of the page. Default is true
.
public bool ShowPageBorder { get; set; }
Examples
Shows how to mimic the properties of images when converting a .docx document to .svg.
Document doc = new Document(MyDir + "Document.docx");
// Configure the SvgSaveOptions object to save with no page borders or selectable text.
SvgSaveOptions options = new SvgSaveOptions
{
FitToViewPort = true,
ShowPageBorder = false,
TextOutputMode = SvgTextOutputMode.UsePlacedGlyphs
};
doc.Save(ArtifactsDir + "SvgSaveOptions.SaveLikeImage.svg", options);
See Also
- class SvgSaveOptions
- namespace Aspose.Words.Saving
- assembly Aspose.Words