Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Words for Python via .NET 24.5.0 Windows AMD64

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 60.03MB
  • Date Added:
  • 7/6/2024

Description

This wheel contains Aspose.Words for Python via .NET version 24.5.0, built for Windows and targeting the AMD64 architecture.

File Details

Developers, elevate your Python applications with the latest update to Aspose.Words for Python via .NET 24.5.0! This release delivers the ability to effortlessly remove empty pages, craft combo charts with customizable properties, and more for your applications running on Windows 64-bit systems.

Effortlessly Remove Blank Doc Pages

Manage document size and organization by utilizing the new remove_blank_pages method in the latest Python word-processing API release to eliminate empty document pages within your documents.

Craft Captivating Combo Charts

Create catchy data visualizations with the introduction of combo charts in version 24.5.0 of Aspose.Words for Python via .NET. Combine different chart types within a single series group and fine-tune properties like gap width, overlap, and bubble scale for a truly customized experience. The following code examples showcase a combo chart created with the secondary Y axis and removing the secondary axis, respectively.

Combo chart with secondary Y axis:


doc = aw.Document()
builder = aw.DocumentBuilder(doc)
shape = builder.insert_chart(chart_type=aw.drawing.charts.ChartType.LINE, width=450, height=250)
chart = shape.chart
series = chart.series
# Delete default generated series.
series.clear()
categories = ['Category 1', 'Category 2', 'Category 3']
series.add(series_name='Series 1 of primary series group', categories=categories, values=[2, 3, 4])
series.add(series_name='Series 2 of primary series group', categories=categories, values=[5, 2, 3])
# Create an additional series group, also of the line type.
new_series_group = chart.series_groups.add(aw.drawing.charts.ChartSeriesType.LINE)
# Specify the use of secondary axes for the new series group.
new_series_group.axis_group = aw.drawing.charts.AxisGroup.SECONDARY
# Hide the secondary X axis.
new_series_group.axis_x.hidden = True
# Define title of the secondary Y axis.
new_series_group.axis_y.title.show = True
new_series_group.axis_y.title.text = 'Secondary Y axis'
# Add a series to the new series group.
series3 = new_series_group.series.add(series_name='Series of secondary series group', categories=categories, values=[13, 11, 16])
series3.format.stroke.weight = 3.5
doc.save(file_name=ARTIFACTS_DIR + 'Charts.SecondaryAxis.docx')

Source*

Removing secondary axis:


doc = aw.Document(file_name=MY_DIR + 'Combo chart.docx')
shape = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape()
chart = shape.chart
series_groups = chart.series_groups
# Find secondary axis and remove from the collection.
i = 0
while i < series_groups.count:
    if series_groups[i].axis_group == aw.drawing.charts.AxisGroup.SECONDARY:
        series_groups.remove_at(i)
    i += 1

Source*

Empowered SVG Rendering

Experience enriched rendering of DML effects within SVG graphics and extend the capabilities beyond standard images seamlessly on Windows x64 machines.

Shape SoftEdge Effect Control

Take precise control over the visual appeal of your shapes with the new SoftEdge property. Conveniently apply soft edges and modify their radius for a touch of elegance. Here is how to use this feature in your Win x64-based Python apps.


builder = aw.DocumentBuilder()
shape = builder.insert_shape(shape_type=aw.drawing.ShapeType.RECTANGLE, width=200, height=200)
# Apply soft edge to the shape.
shape.soft_edge.radius = 30
builder.document.save(file_name=ARTIFACTS_DIR + 'Shape.SoftEdge.docx')
# Load document with rectangle shape with soft edge.
doc = aw.Document(file_name=ARTIFACTS_DIR + 'Shape.SoftEdge.docx')
shape = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape()
# Check soft edge radius.
self.assertEqual(30, shape.soft_edge.radius)
# Remove soft edge from the shape.
shape.soft_edge.remove()
# Check radius of the removed soft edge.
self.assertEqual(0, shape.soft_edge.radius)

Source*

High-Resolution SVG Exports

Ensure high-quality SVG exports with the introduction of the new max_image_resolution property within SvgSaveOptions. Define the desired resolution in pixels per inch for optimal results. Check out the code snippet given below to learn about the feature usage.


doc = aw.Document(file_name=MY_DIR + 'Rendering.docx')
save_options = aw.saving.SvgSaveOptions()
save_options.max_image_resolution = 72
doc.save(file_name=ARTIFACTS_DIR + 'SvgSaveOptions.MaxImageResolution.svg', save_options=save_options)

Source*

Work with Shape Adjustment Values

The new AdjustmentCollection and Adjustment classes provide greater control over shape adjustments, enabling you to access and modify raw adjustment values programmatically.


doc = aw.Document(file_name=MY_DIR + 'Rounded rectangle shape.docx')
shape = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape()
adjustments = shape.adjustments
self.assertEqual(1, adjustments.count)
adjustment = adjustments[0]
self.assertEqual('adj', adjustment.name)
self.assertEqual(16667, adjustment.value)
adjustment.value = 30000
doc.save(file_name=ARTIFACTS_DIR + 'Shape.Adjustments.docx')

Source*

Efficient Macro Detection

Optimize your document processing workflow by leveraging the new has_macros property within FileFormatInfo on Win64-powered machines. This functionality allows you to determine the presence of VBA macros without the need for full document loading, as shown in this Python code snippet.


file_format_info = aw.FileFormatUtil.detect_file_format(file_name=MY_DIR + 'Macro.docm')
self.assertTrue(file_format_info.has_macros)

Source*

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Words for Python via .NET 24.5.0 Release Notes.

 English