## DocumentBuilder.current_story property Gets the story that is currently selected in this [DocumentBuilder](../). ```python @property def current_story(self) -> aspose.words.Story: ... ``` ### Ex......```python doc = aw.Document() builder = aw.DocumentBuilder(doc=doc)...assertEqual(builder.current_story, doc.first_section.body) self.assertEqual(builder...
## ChartDataLabel.font property Provides access to the font formatting of this data label. ```python @property def font(self) -> aspose.words.Font: ... ``` ### Examples Shows how to use 3D effects ......```python doc = aw.Document() builder = aw.DocumentBuilder(doc=doc)...data_labels[i].font.size = 12 i += 1 doc.save(file_name=ARTIFACTS_DIR...
Learn how to optimize PDF files for faster web loading in Python with Aspose.PDF, improving user experience and performance.... doc = self . Document () pdf = self...for web doc . optimize (); #Save output document doc . save (...
Perhaps I don’t understand how to use SharedPtr and MakeObject, but the Visual Studio resource monitor shows this code using up lots of memory as it runs:
#include <Aspose.Words.Cpp/Model/Document/Document.h>
using nam…...System::SharedPtr<Document> doc; while ( true ) { doc = System::MakeObject<Document>(..."My Doc In.docx" ) ); doc->Save( System::String( "My Doc Out...
aspose.words.WarningInfo class. Contains information about a warning that Aspose.Words issued during Document loading or saving... doc = aw . Document ( file_name =...aw . WarningInfoCollectio () doc . warning_callback = warning_collector...