SdtListItemCollection.count property. Gets number of items in the collection.... doc = aw . Document () tag = aw . markup . StructuredDocumentTa...( doc , aw . markup . SdtType . DROP_DOWN_LIST , aw . markup...
SdtListItemCollection.remove_at method. Removes a list item at the specified index.... doc = aw . Document () tag = aw . markup . StructuredDocumentTa...( doc , aw . markup . SdtType . DROP_DOWN_LIST , aw . markup...
IStructuredDocumentTag.is_showing_placeholder_text property. Specifies whether the content of this SDT shall be interpreted to contain placeholder text (as opposed to regular text contents within the SDT).... doc = aw . Document () # Insert a plain... tag = aw . markup . StructuredDocumentTa ( doc , aw . markup...
SdtListItemCollection.add method. Adds an item to this collection.... doc = aw . Document () tag = aw . markup . StructuredDocumentTa...( doc , aw . markup . SdtType . DROP_DOWN_LIST , aw . markup...
使用 Manage NuGet Packages 或 Package Manager Console 等 Visual Studio 工具以及 MSI 安装程序安装 Aspose.Words for Python。使用 Full Trust 权限集。...words as aw # Create and save a simple document doc = aw . Document...Document () builder = aw . DocumentBuilder ( doc ) builder . writeln...
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 )...
HorizontalRuleFormat.height property. Gets or sets the height of the horizontal rule....let doc = new aw . Document (); let builder = new aw . DocumentBuilder...horizontalRuleFormat . alignment = aw . Drawing . HorizontalRuleAlignm...
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...
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 ()...