show_page_border property
SvgSaveOptions.show_page_border property
Controls whether a border is added to the outline of the page.
Default is True
.
@property
def show_page_border(self) -> bool:
...
@show_page_border.setter
def show_page_border(self, value: bool):
...
Examples
Shows how to mimic the properties of images when converting a .docx document to .svg.
doc = aw.Document(file_name=MY_DIR + 'Document.docx')
# Configure the SvgSaveOptions object to save with no page borders or selectable text.
options = aw.saving.SvgSaveOptions()
options.fit_to_view_port = True
options.show_page_border = False
options.text_output_mode = aw.saving.SvgTextOutputMode.USE_PLACED_GLYPHS
doc.save(file_name=ARTIFACTS_DIR + 'SvgSaveOptions.SaveLikeImage.svg', save_options=options)
See Also
- module aspose.words.saving
- class SvgSaveOptions