PclSaveOptions.save_format property. Specifies the format in which the document will be saved if this save options object is used... doc = aw . Document ( file_name = MY_DIR...'Rendering.docx' ) save_options = aw . saving . PclSaveOptions ()...
ImageData.fit_image_to_shape method. Fits the image data to Shape frame so that the aspect ratio of the image data matches the aspect ratio of Shape frame.... doc = aw . Document () builder = aw . DocumentBuilder... insert_shape ( shape_type = aw . drawing . ShapeType . RECTANGLE...
DocumentBuilder.insert_horizontal_rule method. Inserts a horizontal rule shape into the document.... doc = aw . Document () builder = aw . DocumentBuilder...horizontal_rule_format . alignment = aw . drawing . HorizontalRuleAlignm...
TextColumnCollection.set_count method. Arranges text into the specified number of text columns.... doc = aw . Document () builder = aw . DocumentBuilder...' ) builder . insert_break ( aw . BreakType . COLUMN_BREAK )...
档案...words as aw # 加载现有的 Markdown 文档 doc = aw.Document("C:\\Files\\sample...aspose.words as aw # 加载现有的 Markdown 文档 doc = aw.Document("C:\\Files\\sample...
aspose.words.Body class. Represents a container for the main text of a section... doc = aw . Document () # A blank document...root document node. section = aw . Section ( doc ) doc . append_child...
Aspose.Words.CompositeNode class. Base class for nodes that can contain other nodes... let doc = new aw . Document (); // Add two runs...paragraph . appendChild ( new aw . Run ( doc , "Hello world! "...