Browse our Products

Aspose.Slides for Python via .NET 25.4 Release Notes

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESPYNET-258Metered license fails to authenticateInvestigation

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-263Use Aspose.Slides for Net 25.4 featuresEnhancementhttps://releases.aspose.com/slides/net/release-notes/2025/aspose-slides-for-net-25-4-release-notes/

Public API Changes

Added New Method: Metered.is_metered_licensed

The new method is_metered_licensed has been added to the Metered class.
This method allows you to check whether the metered system is licensed or not.

import aspose.slides as slides

metered = slides.Metered()
metered.set_metered_key("my_public_key", "my_private_key");
print("Is metered license accepted:", metered.is_metered_licensed())

Added New Property: IAdjustValue.type

The new property, type, has been added to the IAdjustValue interface and implemented in the AdjustValue class. This property allows you to get information about the type of shape adjustment.
The type property is of the ShapeAdjustmentType enumeration type and can take the following values:

NameDescription
CUSTOMCustom type (unknown adjustment)
CORNER_SIZEControls the size of the corners.
LEFT_UP_CORNERControls the up left corner.
RIGHT_UP_CORNERControls the up right corner.
UP_CORNERSControls the upper corners.
DOWN_CORNERSControls the down corners.
THICKNESSControls the thickness of the figure.
ARROW_TAIL_THICKNESSControls the thickness of the arrow tail.
ARROWHEAD_LENGTHControls the length of the arrowhead.
ARROWHEAD_WIDTHControls the width of the arrowhead.
RADIUSControls the size of the radius of the shape or its part.
DEPTHControls the depth of the gear teeth or the bevel effect.
SHAPE_PART_OFFSETControls the offset of one part of the figure relative to another.
ANGLEControls the angle for figure or its part.
START_ANGLEStart angle for pie and arc shapes.
END_ANGLEEnd angle for pie and arc shapes.
START_POINT_XControls the callout start point X position.
START_POINT_YControls the callout start point Y position.
CONNECTOR_POINT_1XControls the horizontal position of the callout angle adjustment point.
CONNECTOR_POINT_1YControls the vertical position of the callout angle adjustment point.
CONNECTOR_POINT_2XControls the horizontal position of the callout angle adjustment point.
CONNECTOR_POINT_2YControls the vertical position of the callout angle adjustment point.
CONNECTOR_BEND_POSITION_XControls the horizontal position of the bend in the connector.
CONNECTOR_BEND_POSITION_YControls the vertical position of the bend in the connector.
ATTACH_YControls the vertical attachment point of the figure.
ATTACH_XControls the horizontal attachment point of the figure.
CALLOUT_HEIGHTControls the vertical size of the callout.
CALLOUT_WIDTHControls the horizont size of the callout.
CALLOUT_SIZEControls the size of the callout.
CURVATURECurvature of a bent, braces, curved arrow or shape.
HORIZONTAL_THICKNESSControls the horizontal thickness of the corner shape.
VERTICAL_THICKNESSControls the vertical thickness of the corner shape.
VERTICAL_SIZEControls the vertical size of the shape.
HORIZONTAL_SIZEControls the horizontal size of the shape.
TOPControls the top side of a shape.

The following code sample demonstrates how to extract adjustment points of a shape:

import aspose.slides as slides

with slides.Presentation("sample.pptx") as pres:
    shape = pres.slides[0].shapes[1]

    for idx in range(shape.adjustments.length):
        adjustment = shape.adjustments[idx]
        print("Type:", adjustment.type.name, ". Raw value:", adjustment.raw_value)

Possible output:

Type: ARROW_TAIL_THICKNESS . Raw value: 52956
Type: ARROWHEAD_LENGTH . Raw value: 67839