### Get Presentation Source: https://reference.aspose.com/slides/python-net/aspose.slides/ibackground/presentation This example demonstrates how to retrieve the presentation object from a background object. ```APIDOC ## presentation property ### Description Gets the presentation the object is attached to. ### Syntax ```python @property def presentation(self): ... ``` ### Return Value IPresentation: The presentation the object is attached to. ``` -------------------------------- ### Get Reflection Start Opacity Source: https://reference.aspose.com/slides/python-net/aspose.slides.effects/ireflectioneffectivedata/start_reflection_opacity Demonstrates how to access the start_reflection_opacity property to retrieve the starting opacity of a reflection effect. This property is read-only and returns a float value representing percentages. ```python copy @property def start_reflection_opacity(self): ... ``` -------------------------------- ### Get or Set Height Source: https://reference.aspose.com/slides/python-net/aspose.slides/igroupshape/height This example demonstrates how to get and set the height of an IGroupShape. ```APIDOC ## height property ### Description Gets or sets the height of the group shape. ### Syntax ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### Parameters * **value** (float) - The height to set. ### Returns * (float) - The height of the group shape. ``` -------------------------------- ### Accessing and Setting start_reflection_opacity Source: https://reference.aspose.com/slides/python-net/aspose.slides.effects/reflection/start_reflection_opacity This snippet demonstrates how to get and set the starting opacity of a reflection effect. The value is a float representing percentages. ```APIDOC ## start_reflection_opacity Property Starting reflection opacity. (percents). Read/write **float**. ### Definition: ```python @property def start_reflection_opacity(self): # Returns the starting reflection opacity pass @start_reflection_opacity.setter def start_reflection_opacity(self, value): # Sets the starting reflection opacity pass ``` ### See Also * class `Reflection` * module `aspose.slides.effects` ``` -------------------------------- ### Get Presentation Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/ilegendentryproperties/presentation This example shows how to get the presentation object associated with a legend entry properties. ```APIDOC ## presentation Property ### Description Gets the presentation that owns this instance. ### Property Type IPresentation ### Example ```python # Assuming legend_entry_properties is an instance of ILegendEntryProperties presentation = legend_entry_properties.presentation ``` ``` -------------------------------- ### Get or Set Shadow Direction Source: https://reference.aspose.com/slides/python-net/aspose.slides.effects/ipresetshadow/direction This example demonstrates how to get and set the direction of a preset shadow effect. ```APIDOC ## Get or Set Shadow Direction ### Description Gets or sets the direction of a preset shadow. The value is a float representing the direction in degrees. ### Method `IPresetShadow.direction` ### Parameters #### Setter - **value** (float) - The direction of the shadow in degrees. ### Example ```python from aspose.slides.effects import PresetShadow, IPresetShadow from aspose.slides import Presentation prs = Presentation("presentation.pptx") shape = prs.slides[0].shapes[0] # Assuming the shape has a preset shadow effect shadow_effect = shape.effect_format.preset_shadow_type if shadow_effect != None: preset_shadow = shape.effect_format.preset_shadow # Get current direction current_direction = preset_shadow.direction print(f"Current shadow direction: {current_direction}") # Set new direction new_direction = 45.0 preset_shadow.direction = new_direction print(f"New shadow direction set to: {new_direction}") else: print("Shape does not have a preset shadow effect.") prs.save("presentation_with_shadow_direction.pptx", SaveFormat.PPTX) ``` ``` -------------------------------- ### Get Effective Luminance Source: https://reference.aspose.com/slides/python-net/aspose.slides.effects/iluminance/get_effective This example demonstrates how to retrieve the effective luminance value. ```APIDOC ## get_effective ### Description Retrieves the effective value of the ILuminance interface. ### Method ``` def get_effective(self): ... ``` ### Returns An `ILuminanceEffectiveData` object representing the effective luminance value. ``` -------------------------------- ### __init__ (with LoadOptions) Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Creates a new presentation from scratch with specified load options. The created presentation will have one empty slide. ```APIDOC ## __init__ (load_options) ### Description Creates a new presentation from scratch with specified load options. The created presentation will have one empty slide. ### Method __init__ ### Parameters #### Path Parameters - **load_options** (`LoadOptions`) - Required - Additional load options. ### Request Example ```python from aspose.slides import Presentation, LoadOptions load_options = LoadOptions() pres = Presentation(load_options=load_options) ``` ### Response - **Presentation**: A new Presentation object with one empty slide. ``` -------------------------------- ### Get the number of drawing guides in the collection Source: https://reference.aspose.com/slides/python-net/aspose.slides/idrawingguidescollection/count This example demonstrates how to retrieve the count of drawing guides within an IDrawingGuidesCollection. ```APIDOC ## count property ### Description Gets the number of all elements in the collection. Read-only **int**. ### Definition: ```python @property def count(self): ... ``` ### See Also * class `IDrawingGuidesCollection` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### Get or Set Drawing Guide Orientation Source: https://reference.aspose.com/slides/python-net/aspose.slides/drawingguide/orientation Demonstrates how to get or set the orientation of a drawing guide. This property returns or sets the orientation of the drawing guide. ```python Copy@property def orientation(self): ... @orientation.setter def orientation(self, value): ... ``` -------------------------------- ### __init__ (with stream and LoadOptions) Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Reads an existing Presentation from an input stream with additional load options. ```APIDOC ## __init__ (stream, load_options) ### Description Reads an existing Presentation from an input stream with additional load options. ### Method __init__ ### Parameters #### Path Parameters - **stream** (`io.RawIOBase`) - Required - Input stream. - **load_options** (`LoadOptions`) - Required - Additional load options. ### Request Example ```python from aspose.slides import Presentation, LoadOptions import io load_options = LoadOptions() with open("presentation.pptx", "rb") as stream: pres = Presentation(stream, load_options=load_options) ``` ### Response - **Presentation**: A Presentation object loaded from the stream with specified options. ``` -------------------------------- ### Get Numbered Bullet Start With Source: https://reference.aspose.com/slides/python-net/aspose.slides/ibulletformateffectivedata/numbered_bullet_start_with This code snippet demonstrates how to get the starting number for a group of numbered bullets using the 'numbered_bullet_start_with' property. ```APIDOC ## numbered_bullet_start_with Property ### Description Returns the first number which is used for group of numbered bullets. Read-only **int**. ### Definition: ```python @property def numbered_bullet_start_with(self): ... ``` ### See Also * class `IBulletFormatEffectiveData` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### __init__ (no arguments) Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Creates a new presentation from scratch. The created presentation will have one empty slide. ```APIDOC ## __init__ ### Description Creates a new presentation from scratch. The created presentation will have one empty slide. ### Method __init__ ### Parameters None ### Request Example ```python from aspose.slides import Presentation pres = Presentation() ``` ### Response - **Presentation**: A new Presentation object with one empty slide. ``` -------------------------------- ### Create New Presentation with Load Options Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Initializes a new presentation from scratch with specified load options. The created presentation will contain one empty slide. ```python def __init__(self, load_options): ... ``` -------------------------------- ### Get range_start_index Source: https://reference.aspose.com/slides/python-net/aspose.slides/ifontfallbackrule/range_start_index This example demonstrates how to get the value of the range_start_index property. ```APIDOC ## range_start_index Property ### Description Get first index of continuous unicode range. ### Definition: ```python @property def range_start_index(self): ... ``` ### See Also * class `IFontFallBackRule` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### Accessing the proof_disabled property Source: https://reference.aspose.com/slides/python-net/aspose.slides/iportionformat/proof_disabled This example demonstrates how to get and set the proof_disabled property for an IPortionFormat object. ```APIDOC ## proof_disabled Property ### Description Gets or sets a value indicating whether the proofing is disabled for the portion. ### Syntax ```python @property def proof_disabled(self): ... @proof_disabled.setter def proof_disabled(self, value): ... ``` ### Property Value `bool` - True if proofing is disabled; otherwise, False. ### Example ```python # Assuming 'portion' is an instance of IPortionFormat # Disable proofing portion.proof_disabled = True # Check if proofing is disabled is_disabled = portion.proof_disabled print(f"Proofing disabled: {is_disabled}") ``` ``` -------------------------------- ### Start Property Source: https://reference.aspose.com/slides/python-net/aspose.slides/slidesrange/start Gets or sets the start slide index of a slide range. ```APIDOC ## start Property ### Description Gets or sets the start slide index of a slide range. ### Definition: ```python @property def start(self): ... @start.setter def start(self, value): ... ``` ### See Also * class `SlidesRange` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### __init__ (with file path and LoadOptions) Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Reads an existing Presentation from a source file path with additional load options. Throws RuntimeError if the input file has zero length. ```APIDOC ## __init__ (file, load_options) ### Description Reads an existing Presentation from a source file path with additional load options. Throws RuntimeError if the input file has zero length. ### Method __init__ ### Parameters #### Path Parameters - **file** (`str`) - Required - Input file. - **load_options** (`LoadOptions`) - Required - Additional load options. ### Exceptions - **RuntimeError(Proxy error(ArgumentException))**: Thrown when input file has zero length. ### Request Example ```python from aspose.slides import Presentation, LoadOptions load_options = LoadOptions() pres = Presentation("presentation.pptx", load_options=load_options) ``` ### Response - **Presentation**: A Presentation object loaded from the file with specified options. ``` -------------------------------- ### Setting and Getting the Password Source: https://reference.aspose.com/slides/python-net/aspose.slides/iloadoptions/password Demonstrates how to set and get the password for loading options. This is required when dealing with password-protected presentations. ```python Copy@property def password(self): ... @password.setter def password(self, value): ... ``` -------------------------------- ### Initialize VideoPlayerHtmlController Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/videoplayerhtmlcontroller/__init__ Creates a new instance of the VideoPlayerHtmlController. Specify the output path for video/audio files, the HTML file name, and the base URI for generating links. ```python def __init__(self, path, file_name, base_uri): ... ``` -------------------------------- ### Getting the light_type Source: https://reference.aspose.com/slides/python-net/aspose.slides/ilightrig/light_type This example demonstrates how to get the current light_type property of an ILightRig object. ```APIDOC ## Getting the light_type ### Description Gets the current preset light rig type of the 3D scene. ### Method ```python @property def light_type(self) -> LightRigPresetType: ... ``` ### Returns * **LightRigPresetType** - The current preset light rig type. ``` -------------------------------- ### Get z_order_position Source: https://reference.aspose.com/slides/python-net/aspose.slides.ink/iink/z_order_position This code example demonstrates how to get the z-order position of an ink stroke. ```APIDOC ## Get z_order_position ### Description Gets the z-order position of the ink stroke. ### Method ```python Ink.z_order_position ``` ### Parameters This property does not take any parameters. ### Return Value An integer representing the z-order position of the ink stroke. ``` -------------------------------- ### PptOptions Constructor Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/pptoptions/__init__ Initializes a new instance of the PptOptions class. ```APIDOC ## PptOptions() ### Description Initializes a new instance of the `PptOptions` class. ### Method ```python def __init__(self): ... ``` ``` -------------------------------- ### __init__ (with stream) Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Reads an existing Presentation from an input stream. ```APIDOC ## __init__ (stream) ### Description Reads an existing Presentation from an input stream. ### Method __init__ ### Parameters #### Path Parameters - **stream** (`io.RawIOBase`) - Required - Input stream. ### Request Example ```python from aspose.slides import Presentation import io with open("presentation.pptx", "rb") as stream: pres = Presentation(stream) ``` ### Response - **Presentation**: A Presentation object loaded from the stream. ``` -------------------------------- ### Get and Set hyperlink_mouse_over Source: https://reference.aspose.com/slides/python-net/aspose.slides/isectionzoomframe/hyperlink_mouse_over This example demonstrates how to get and set the hyperlink_mouse_over property for an ISectionZoomFrame object. ```APIDOC ## hyperlink_mouse_over Property ### Description Gets or sets the hyperlink associated with the mouse over action. ### Syntax ```python @property def hyperlink_mouse_over(self): """Gets or sets the hyperlink associated with the mouse over action.""" ... @hyperlink_mouse_over.setter def hyperlink_mouse_over(self, value): """Sets the hyperlink associated with the mouse over action.""" ... ``` ### Parameters * `value`: The hyperlink to set. This can be a string representing a URL or a file path, or an instance of the `Hyperlink` class. ``` -------------------------------- ### __init__ Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/notescommentslayoutingoptions/__init__ Initializes a new instance of the NotesCommentsLayoutingOptions class with default settings. ```APIDOC ## __init__ ### Description Default constructor. ### Method __init__ ### Endpoint N/A ### Parameters None ### Request Example None ### Response #### Success Response Initializes a new instance of the NotesCommentsLayoutingOptions class. #### Response Example None ``` -------------------------------- ### Get Line Width Source: https://reference.aspose.com/slides/python-net/aspose.slides/ilineformateffectivedata/width This example demonstrates how to get the width of a line using the width property. ```APIDOC ## width property Returns the width of a line. Read-only **float**. ### Definition: ```python @property def width(self): ... ``` ### See Also * class `ILineFormatEffectiveData` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### __init__ (with file path) Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Reads an existing Presentation from a source file path. Throws RuntimeError if the input file has zero length. ```APIDOC ## __init__ (file) ### Description Reads an existing Presentation from a source file path. Throws RuntimeError if the input file has zero length. ### Method __init__ ### Parameters #### Path Parameters - **file** (`str`) - Required - Input file. ### Exceptions - **RuntimeError(Proxy error(ArgumentException))**: Thrown when input file has zero length. ### Request Example ```python from aspose.slides import Presentation pres = Presentation("presentation.pptx") ``` ### Response - **Presentation**: A Presentation object loaded from the file. ``` -------------------------------- ### Accessing Slide Show Transition Source: https://reference.aspose.com/slides/python-net/aspose.slides/baseslide/slide_show_transition This example demonstrates how to get the Transition object for a slide using the slide_show_transition property. ```APIDOC ## slide_show_transition Property Returns the Transition object which contains information about how the specified slide advances during a slide show. Read-only `ISlideShowTransition`. ### Definition: ```python @property def slide_show_transition(self): ... ``` ### See Also * class `BaseSlide` * class `ISlideShowTransition` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### Get z_order_position Source: https://reference.aspose.com/slides/python-net/aspose.slides.smartart/smartart/z_order_position This example demonstrates how to get the z-order position of a shape within a SmartArt object. ```APIDOC ## Get z_order_position ### Description Returns the position of a shape in the z-order. Shapes[0] returns the shape at the back of the z-order, and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order. ### Method ```python SmartArt.z_order_position ``` ### Returns - **int**: The position of the shape in the z-order. ``` -------------------------------- ### Initialize PresentationPlayer Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/presentationplayer/__init__ Creates a new instance of the PresentationPlayer. Requires a presentation animations generator and frames per second (FPS) to be specified. ```python def __init__(self, generator, fps): ... ``` -------------------------------- ### SVGOptions() Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/svgoptions/__init__ Initializes a new instance of the SVGOptions class with default settings. ```APIDOC ## SVGOptions() ### Description Initializes a new instance of the SVGOptions class. ### Method __init__ ### Parameters None ### Remarks This constructor creates an SVGOptions object with default values for all properties. ### See Also * class `SVGOptions` * module `aspose.slides.export` ``` -------------------------------- ### Get Actual X Coordinate Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/ilegend/actual_x This example demonstrates how to get the actual X coordinate of a legend in a chart. ```APIDOC ## Get Actual X Coordinate ### Description Retrieves the actual X coordinate of the legend. ### Method ```python ILegend.actual_x ``` ### Return Value (float) The actual X coordinate of the legend. ``` -------------------------------- ### Get Connection Site Count Source: https://reference.aspose.com/slides/python-net/aspose.slides/ipictureframe/connection_site_count This example demonstrates how to get the number of connection sites for a picture frame. ```APIDOC ## connection_site_count Property ### Description Gets the number of connection sites for a picture frame. ### Definition ```python @property def connection_site_count(self): ... ``` ### Return Value System.Int32 ### See Also * class `IPictureFrame` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### Setting and Getting Password Source: https://reference.aspose.com/slides/python-net/aspose.slides/loadoptions/password Demonstrates how to set a password for loading a presentation and how to retrieve it. This is useful for handling password-protected presentations. ```python loadOptions = LoadOptions() loadOptions.password = "my_password" password = loadOptions.password ``` -------------------------------- ### Get or Set Shred Transition Pattern Source: https://reference.aspose.com/slides/python-net/aspose.slides.slideshow/ishredtransition/pattern This example demonstrates how to get or set the pattern for a shred transition. ```APIDOC ## pattern property Specifies the shape of the visuals used during the transition. Read/write `TransitionShredPattern`. ### Definition: ```python @property def pattern(self): ... @pattern.setter def pattern(self, value): ... ``` ### See Also * class `IShredTransition` * enumeration `TransitionShredPattern` * module `aspose.slides.slideshow` * library `Aspose.Slides` ``` -------------------------------- ### write_document_start Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/ivideoplayerhtmlcontroller/write_document_start Writes the start of the HTML document for video player integration. ```APIDOC ## write_document_start ### Description Writes the start of the HTML document for video player integration. ### Method Signature ```python def write_document_start(self, generator: IHtmlGenerator, presentation: IPresentation) ``` ### Parameters * **generator** (`IHtmlGenerator`) - The HTML generator object. * **presentation** (`IPresentation`) - The presentation object. ### See Also * class `IHtmlGenerator` * class `IPresentation` * class `IVideoPlayerHtmlController` * module `aspose.slides.export` * library `Aspose.Slides` ``` -------------------------------- ### start_reflection_opacity Property Source: https://reference.aspose.com/slides/python-net/aspose.slides.effects/ireflectioneffectivedata/start_reflection_opacity Starting reflection opacity. (percents). Read-only float. ```APIDOC ## start_reflection_opacity Property ### Description Starting reflection opacity. (percents). ### Type Read-only float ``` -------------------------------- ### Get Text Cap Type Source: https://reference.aspose.com/slides/python-net/aspose.slides/ibaseportionformateffectivedata/text_cap_type This example demonstrates how to access the `text_cap_type` property to get the capitalization type of text. ```APIDOC ## text_cap_type property ### Description Returns the type of text capitalization. ### Returns TextCapType: The type of text capitalization. ### Example ```python # Assuming 'portion_format' is an instance of IBasePortionFormatEffectiveData cap_type = portion_format.text_cap_type print(f"Text capitalization type: {cap_type}") ``` ``` -------------------------------- ### Trim Video from Start Source: https://reference.aspose.com/slides/python-net/aspose.slides/ivideoframe/trim_from_start You can get or set the trim start time of a video frame in milliseconds using the trim_from_start property. ```APIDOC ## trim_from_start Property Trim start [ms] ### Definition: ```python @property def trim_from_start(self): # Returns the trim start time in milliseconds pass @trim_from_start.setter def trim_from_start(self, value): # Sets the trim start time in milliseconds pass ``` ### Parameters: #### Setter - **value** (int): The trim start time in milliseconds. ``` -------------------------------- ### Initialize BlobManagementOptions Source: https://reference.aspose.com/slides/python-net/aspose.slides/blobmanagementoptions/__init__ Creates new default blob management options. Use this constructor to set up default settings for managing temporary files. ```python def __init__(self): ... ``` -------------------------------- ### Get and Set Bubble Size Scale Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/ichartseriesgroup/bubble_size_scale This example demonstrates how to get and set the bubble_size_scale property for a chart series group. ```APIDOC ## bubble_size_scale Property Specifies the scale factor for the bubble chart (can be between 0 and 300 percents of the default size). Read/write **int**. ### Definition: ```python @property def bubble_size_scale(self): ... @bubble_size_scale.setter def bubble_size_scale(self, value): ... ``` ### See Also * class `IChartSeriesGroup` * module `aspose.slides.charts` * library `Aspose.Slides` ``` -------------------------------- ### Accessing Image Source Source: https://reference.aspose.com/slides/python-net/aspose.slides/iimagewrapper/image_source Demonstrates how to access the image source using the image_source property. ```Python Copy@property def image_source(self): ... ``` -------------------------------- ### __init__ (no arguments) Source: https://reference.aspose.com/slides/python-net/aspose.slides/portion/__init__ Initializes a new instance of the Portion class without any parameters. ```APIDOC ## __init__ ### Description Initializes a new instance of the Portion class. ### Method __init__ ### Parameters None ### Request Example ```python portion = Portion() ``` ### Response Initializes a Portion object. ``` -------------------------------- ### Get Range Start Index Source: https://reference.aspose.com/slides/python-net/aspose.slides/ifontfallbackrule/range_start_index Retrieves the starting index of a continuous Unicode range for a font fallback rule. This property is read-only. ```python Copy@property def range_start_index(self): ... ``` -------------------------------- ### Get the number of drawing guides Source: https://reference.aspose.com/slides/python-net/aspose.slides/idrawingguidescollection/count Use the Count property to retrieve the total number of drawing guides in the collection. This property is read-only. ```python count = IDrawingGuidesCollection.count ``` -------------------------------- ### __init__ Source: https://reference.aspose.com/slides/python-net/aspose.slides.mathtext/matharray/__init__ Creates a mathematical array and places the specified element in it. ```APIDOC ## __init__ ### Description Creates a mathematical array and places the specified element in it. ### Method __init__ ### Parameters #### Path Parameters - **element** (IMathElement) - Required - The element to place in the array ``` -------------------------------- ### SwfOptions Constructor Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/swfoptions/__init__ Initializes a new instance of the SwfOptions class with default settings. ```APIDOC ## SwfOptions() ### Description Default constructor. ### Method __init__ ### Parameters None ### Returns A new instance of the SwfOptions class. ``` -------------------------------- ### Connector Start Shape Connection Site Index Source: https://reference.aspose.com/slides/python-net/aspose.slides/connector/start_shape_connection_site_index Demonstrates how to get and set the start_shape_connection_site_index property for a connector's start shape. ```python Copy@property def start_shape_connection_site_index(self): ... @start_shape_connection_site_index.setter def start_shape_connection_site_index(self, value): ... ``` -------------------------------- ### Reflection.start_pos_alpha Property Source: https://reference.aspose.com/slides/python-net/aspose.slides.effects/reflection/start_pos_alpha Gets or sets the start position (along the alpha gradient ramp) of the start alpha value (percents). The value is a float. ```APIDOC ## Reflection.start_pos_alpha Property ### Description Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read/write **float**. ### Definition: ```python @property def start_pos_alpha(self): # Returns float ... @start_pos_alpha.setter def start_pos_alpha(self, value): # Sets float value ... ``` ### See Also * class `Reflection` * module `aspose.slides.effects` ``` -------------------------------- ### Get stroke_start_arrow_length Property Source: https://reference.aspose.com/slides/python-net/aspose.slides.animation/behaviorproperty/stroke_start_arrow_length Demonstrates how to access the stroke_start_arrow_length property. This property is part of the BehaviorProperty class and is used to get the length of the starting arrow for a stroke. ```python Copy@property def stroke_start_arrow_length(self): ... ``` -------------------------------- ### Get or Set Drawing Guide Color Source: https://reference.aspose.com/slides/python-net/aspose.slides/drawingguide/color Demonstrates how to access and modify the color of a drawing guide. The property returns or accepts a value of type aspose.pydrawing.Color. ```python Copy@property def color(self): ... @color.setter def color(self, value): ... ``` -------------------------------- ### Constructor with Text and Format Settings Source: https://reference.aspose.com/slides/python-net/aspose.slides.mathtext/mathematicaltext/__init__ Initializes a new instance of the MathematicalText class with a text string and specified format settings. ```APIDOC ## MathematicalText(math_text, portion_format) ### Description Create MathematicalText from text and format settings ### Method __init__ ### Parameters #### Path Parameters - **math_text** (str) - Required - text value - **portion_format** (IPortionFormat) - Required - text format settings ### See Also * class `IPortionFormat` * class `MathematicalText` * module `aspose.slides.mathtext` * library `Aspose.Slides` ### Code Example ```python # Assuming portion_format is an instance of IPortionFormat math_text = MathematicalText('x^2', portion_format) ``` ``` -------------------------------- ### stroke_start_arrow_width Property Source: https://reference.aspose.com/slides/python-net/aspose.slides.animation/behaviorproperty/stroke_start_arrow_width Gets or sets the width of the start arrow for a stroke. ```APIDOC ## stroke_start_arrow_width Property ### Description Represents the ‘stroke.startArrowWidth’ property. This property controls the width of the arrow at the starting point of a stroke in an animation. ### Definition ```python @property def stroke_start_arrow_width(self): """Gets or sets the width of the start arrow for a stroke.""" ... ``` ### See Also * class `BehaviorProperty` * module `aspose.slides.animation` * library `Aspose.Slides` ``` -------------------------------- ### __init__ (string argument) Source: https://reference.aspose.com/slides/python-net/aspose.slides/portion/__init__ Initializes a new instance of the Portion class with a string value. ```APIDOC ## __init__ (str) ### Description Initializes a new instance of the Portion class with a string. ### Method __init__ ### Parameters #### Path Parameters - **str** (str) - Description: The string to initialize the Portion with. ### Request Example ```python portion = Portion("Sample Text") ``` ### Response Initializes a Portion object with the provided string. ``` -------------------------------- ### Get or Set Drawing Guide Orientation Source: https://reference.aspose.com/slides/python-net/aspose.slides/drawingguide/orientation This snippet shows how to retrieve and set the orientation of a drawing guide. The orientation can be set using values from the Orientation enumeration. ```APIDOC ## orientation property Returns or sets orientation of the drawing guide. Read/write `Orientation`. ### Definition: ```python @property def orientation(self): ... @orientation.setter def orientation(self, value): ... ``` ### See Also * class `DrawingGuide` * enumeration `Orientation` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### BrowsedAtKiosk Constructor Source: https://reference.aspose.com/slides/python-net/aspose.slides/browsedatkiosk/__init__ Initializes a new instance of the BrowsedAtKiosk class. This constructor does not take any arguments. ```APIDOC ## **init** ### Description Initializes a new instance of the BrowsedAtKiosk class. ### Method __init__ ### Parameters This constructor does not take any parameters. ### Request Example ```python from aspose.slides import BrowsedAtKiosk kiosk = BrowsedAtKiosk() ``` ### Response Initializes a new instance of the BrowsedAtKiosk class. ``` -------------------------------- ### Get First Slice Angle Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/chartseries/first_slice_angle This example demonstrates how to access the read-only first_slice_angle property to get the angle of the first slice in a pie or doughnut chart series. ```APIDOC ## first_slice_angle Property ### Description Specifies the angle of the first pie or doughnut chart slice, in degrees (clockwise from up, from 0 to 360 degrees). This is the property not only of this series but of all series of parent series group - this is projection of appropriate group property. And so this property is read-only. Use ParentSeriesGroup property for access to parent series group. Use ParentSeriesGroup.FirstSliceAngle read/write property for change value. Read-only **int**. ### Remarks This is the projection of the property ParentSeriesGroup.FirstSliceAngle. ### Definition: ```python @property def first_slice_angle(self): """Gets the angle of the first pie or doughnut chart slice, in degrees.""" # This is a read-only property, implementation details are omitted. pass ``` ### See Also * class `ChartSeries` * module `aspose.slides.charts` * library `Aspose.Slides` ``` -------------------------------- ### XpsOptions Constructor Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/xpsoptions/__init__ Initializes a new instance of the XpsOptions class with default settings. ```APIDOC ## XpsOptions() ### Description Default constructor. ### Method __init__ ### Parameters None ### Request Example ```python from aspose.slides.export import XpsOptions xps_options = XpsOptions() ``` ### Response Initializes an XpsOptions object. ``` -------------------------------- ### IRotationEffect.from_address Property Source: https://reference.aspose.com/slides/python-net/aspose.slides.animation/irotationeffect/from_address Gets or sets the starting value for the animation. The value is a float. ```APIDOC ## from_address Property ### Description Describes the starting value for the animation. ### Type float ### Access Read/write ### Definition ```python @property def from_address(self): ... @from_address.setter def from_address(self, value): ... ``` ``` -------------------------------- ### Initialize BrowsedAtKiosk Source: https://reference.aspose.com/slides/python-net/aspose.slides/browsedatkiosk/__init__ Initializes a new instance of the BrowsedAtKiosk class. This is a basic constructor. ```python def __init__(self): ... ``` -------------------------------- ### Get and Set End Reflection Opacity Source: https://reference.aspose.com/slides/python-net/aspose.slides.effects/ireflection/end_reflection_opacity Demonstrates how to get and set the end reflection opacity for a reflection effect. The opacity is specified as a percentage. ```python Copy@property def end_reflection_opacity(self): ... @end_reflection_opacity.setter def end_reflection_opacity(self, value): ... ``` -------------------------------- ### PresentedBySpeaker Constructor Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentedbyspeaker/__init__ Initializes a new instance of the PresentedBySpeaker class. ```APIDOC ## PresentedBySpeaker() ### Description Initializes a new instance of the PresentedBySpeaker class. ### Method __init__ ### Parameters This constructor does not take any parameters. ### Request Example ```python from aspose.slides import PresentedBySpeaker presented_by_speaker = PresentedBySpeaker() ``` ### Response This method does not return any value. ``` -------------------------------- ### Get Column Index Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/chartdatacell/column This example demonstrates how to retrieve the column index of a ChartDataCell. ```APIDOC ## column property Returns the index of the column of worksheet in which the cell is located. Read-only **int**. ### Definition: ```python @property def column(self): ... ``` ### See Also * class `ChartDataCell` * module `aspose.slides.charts` ``` -------------------------------- ### Create Presentation Source: https://reference.aspose.com/slides/python-net/aspose.slides/ipresentationfactory/create_presentation Creates a new, empty presentation. This is the most basic way to start a new presentation. ```APIDOC ## create_presentation ### Description Creates a new, empty presentation. ### Method ``` def create_presentation(self): ... ``` ### Returns New presentation (`IPresentation`) ``` -------------------------------- ### Html5Options Constructor Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/html5options/__init__ Initializes a new instance of the Html5Options class with default settings. ```APIDOC ## Html5Options() ### Description Initializes a new instance of the `Html5Options` class with default settings. ### Method __init__ ### Parameters This constructor does not take any parameters. ### Returns An instance of the `Html5Options` class. ``` -------------------------------- ### Get Rotation Source: https://reference.aspose.com/slides/python-net/aspose.slides/ishapeframe/rotation This example demonstrates how to retrieve the rotation angle of a shape frame. ```APIDOC ## Get Rotation ### Description Retrieves the number of degrees a frame is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. ### Method `get_rotation()` ### Return Value `float` - The rotation angle in degrees. ``` -------------------------------- ### Setting and Getting Audio Volume Source: https://reference.aspose.com/slides/python-net/aspose.slides/iaudioframe/volume_value Demonstrates how to set and retrieve the audio volume using the volume_value property. The value should be a float representing the percentage. ```python audio_frame.volume_value = 50.0 volume = audio_frame.volume_value ``` -------------------------------- ### Getting and Setting Load Format Source: https://reference.aspose.com/slides/python-net/aspose.slides/iloadoptions/load_format Demonstrates how to retrieve the current load format and how to set a new load format for a presentation. This is typically done when initializing ILoadOptions. ```python load_format = iloadoptions.load_format iloadoptions.load_format = LoadFormat.PPTX ``` -------------------------------- ### Get Unique ID Source: https://reference.aspose.com/slides/python-net/aspose.slides/autoshape/unique_id This example demonstrates how to retrieve the unique ID of an AutoShape. ```APIDOC ## unique_id property Returns an internal, presentation-scoped identifier intended for use by add-ins or other code. Because this value can be reassigned by the user or programmatically, it must not be treated as a persistent unique key. Read-only **int**. ### Definition: ```python @property def unique_id(self): ... ``` ### See Also * class `AutoShape` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### IOverrideTheme.init_color_scheme_from Source: https://reference.aspose.com/slides/python-net/aspose.slides.theme/ioverridetheme/init_color_scheme_from Initializes the ColorScheme with a new object for overriding the ColorScheme of InheritedTheme. ```APIDOC ## init_color_scheme_from ### Description Init ColorScheme with new object for overriding ColorScheme of InheritedTheme. ### Method Signature ```python def init_color_scheme_from(self, color_scheme: IColorScheme) -> None ``` ### Parameters * **color_scheme** (`IColorScheme`): Data to initialize from. ### Exceptions * **RuntimeError(Proxy error(InvalidOperationException))**: Thrown if the ColorScheme is already initialized (not None). * **RuntimeError(Proxy error(ArgumentNullException))**: Thrown if the colorScheme parameter is None. ``` -------------------------------- ### Get Z-Order Position Source: https://reference.aspose.com/slides/python-net/aspose.slides/audioframe/z_order_position This example demonstrates how to retrieve the z-order position of an AudioFrame. ```APIDOC ## z_order_position Property ### Description Returns the position of a shape in the z-order. Shapes[0] returns the shape at the back of the z-order, and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order. Read-only **int**. ### Definition: ```python @property def z_order_position(self): ... ``` ### See Also * class `AudioFrame` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### Create a New Presentation Source: https://reference.aspose.com/slides/python-net/aspose.slides/ipresentationfactory/create_presentation Creates a new presentation with default settings. This method is part of the IPresentationFactory interface. ```python def create_presentation(self): ... ``` -------------------------------- ### Get or Set Hidden Property Source: https://reference.aspose.com/slides/python-net/aspose.slides/itable/hidden This code example demonstrates how to get and set the hidden property of a table. The hidden property returns a boolean value indicating if the table is hidden. ```APIDOC ## hidden property ### Description Gets or sets a value indicating whether the table is hidden. ### Method Signature ```python @property def hidden(self) -> bool: ... @hidden.setter def hidden(self, value: bool) -> None: ... ``` ### Example ```python # Assuming 'table' is an instance of ITable # Get the hidden status is_hidden = table.hidden # Set the hidden status table.hidden = True ``` ``` -------------------------------- ### add(path, video: IVideo) Source: https://reference.aspose.com/slides/python-net/aspose.slides.export.web/output/add Adds an output element for a video. Returns an IOutputFile object for the video. ```APIDOC ## add(path, video: IVideo) ### Description Adds an output element for the video. ### Method (Implicitly a method call within a class) ### Parameters #### Path Parameters - **path** (str) - Required - Output path. - **video** (IVideo) - Required - Video to output. ### Returns `IOutputFile` object for the video. ``` -------------------------------- ### PresentationPlayer Constructor Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/presentationplayer Initializes a new instance of the PresentationPlayer class. ```APIDOC ## `__init__` Constructor ### Description Creates a new instance of the `PresentationPlayer` class. ### Method `__init__` ``` -------------------------------- ### IPropertyEffect.from_address Property Source: https://reference.aspose.com/slides/python-net/aspose.slides.animation/ipropertyeffect/from_address Gets or sets the starting value of the animation. This property is of type string. ```APIDOC ## from_address Property ### Description Specifies the starting value of the animation. ### Property Type string ### Definition ```python @property def from_address(self): # Returns the starting value of the animation. ... @from_address.setter def from_address(self, value): # Sets the starting value of the animation. ... ``` ### See Also * class `IPropertyEffect` * module `aspose.slides.animation` ``` -------------------------------- ### from_address Property Source: https://reference.aspose.com/slides/python-net/aspose.slides.animation/coloreffect/from_address Gets or sets the starting color of the effect. The value is of type IColorFormat. ```APIDOC ## from_address Property ### Description Gets or sets the starting color of the effect. The value is of type `IColorFormat`. ### Syntax ```python from_address(self) -> IColorFormat @from_address.setter def from_address(self, value: IColorFormat) -> None ``` ### Parameters * **value** (`IColorFormat`): The starting color for the effect. ``` -------------------------------- ### Get and Set Line Begin Arrowhead Style Source: https://reference.aspose.com/slides/python-net/aspose.slides/ilineformat/begin_arrowhead_style Demonstrates how to get and set the arrowhead style for the beginning of a line using the `begin_arrowhead_style` property. ```python Copy@property def begin_arrowhead_style(self): ... @begin_arrowhead_style.setter def begin_arrowhead_style(self, value): ... ``` -------------------------------- ### Get Slide Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/ilegendentryproperties/slide This example demonstrates how to retrieve the slide associated with the legend entry properties. ```APIDOC ## slide property ### Description Gets the slide. ### Property ```python slide: Slide ``` ### Returns `Slide`: The slide associated with the legend entry properties. ``` -------------------------------- ### Convert Presentation to PNG with Scale and Options Source: https://reference.aspose.com/slides/python-net/aspose.slides.lowcode/convert/to_png Converts a presentation to PNG images with advanced control over scaling and rendering. Use this overload to apply a specific scaling factor and custom rendering options. Requires the presentation object, output file name, a float for scale, and an IRenderingOptions object. ```python Copy@staticmethod def to_png(pres, output_file_name, scale, options): ... ``` -------------------------------- ### Create a New Presentation with Load Options Source: https://reference.aspose.com/slides/python-net/aspose.slides/ipresentationfactory/create_presentation Creates a new presentation with specified load options. Use this overload when custom loading behavior is required. ```python def create_presentation(self, options): ... ``` -------------------------------- ### Get Presentation Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/datatable/presentation This example demonstrates how to retrieve the parent presentation object from a DataTable instance. ```APIDOC ## presentation Property ### Description Gets the presentation that owns this DataTable. ### Method Signature ```python presentation(self) ``` ### Returns IPresentation: The presentation object that owns the data table. ``` -------------------------------- ### Accessing the order property Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/chartseries/order This example demonstrates how to get and set the order of a chart series. ```APIDOC ## ChartSeries.order Property ### Description Returns the order of a series. Read/write **int**. ### Method Signature ```python @property def order(self) -> int: ... @order.setter def order(self, value: int) -> None: ... ``` ### Example ```python # Assuming chart_series is an instance of ChartSeries current_order = chart_series.order chart_series.order = 5 ``` ### See Also * class `ChartSeries` * module `aspose.slides.charts` * library `Aspose.Slides` ``` -------------------------------- ### Load Presentation from File Path with Load Options Source: https://reference.aspose.com/slides/python-net/aspose.slides/presentation/__init__ Reads an existing presentation from a source file path with specified load options. This constructor enables loading from disk with custom settings. ```python def __init__(self, file, load_options): ... ``` -------------------------------- ### Get Z-Order Position Source: https://reference.aspose.com/slides/python-net/aspose.slides.charts/chart/z_order_position This example demonstrates how to retrieve the z-order position of a chart shape. ```APIDOC ## z_order_position property ### Description Returns the position of a shape in the z-order. Shapes[0] returns the shape at the back of the z-order, and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order. Read-only **int**. ### Definition: ```python @property def z_order_position(self): ... ``` ### See Also * class `Chart` * module `aspose.slides.charts` * library `Aspose.Slides` ``` -------------------------------- ### MathLimit.__init__ (base_arg, limit, upper_limit) Source: https://reference.aspose.com/slides/python-net/aspose.slides.mathtext/mathlimit/__init__ Initializes a new instance of the MathLimit class with a base argument, a lower limit, and an upper limit. ```APIDOC ## MathLimit.__init__ (base_arg, limit, upper_limit) ### Description Initializes a new instance of the MathLimit class with a base argument, a lower limit, and an upper limit. ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Method __init__ ### Endpoint None ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **base_arg** (`IMathElement`) - Description: - **limit** (`IMathElement`) - Description: - **upper_limit** (`bool`) - Description: ### Request Example ```python def __init__(self, base_arg, limit, upper_limit): ... ``` ### Response #### Success Response (200) None #### Response Example None ``` -------------------------------- ### Get and Set Gradient Style Source: https://reference.aspose.com/slides/python-net/aspose.slides.export/saveoptions/gradient_style Demonstrates how to get and set the gradient style for a shape. Requires importing the GradientStyle enumeration. ```python import aspose.slides as slides prs = slides.Presentation() slide = prs.slides.add_slide(prs.slide_layouts[0]) shape = slide.shapes.add_auto_shape(slides.ShapeType.RECTANGLE, 50, 50, 100, 100) # Get gradient style gradient_style = shape.fill.gradient_style # Set gradient style shape.fill.gradient_style = slides.GradientStyle.LINEAR_FORWARD ``` -------------------------------- ### Get Z-Order Position Source: https://reference.aspose.com/slides/python-net/aspose.slides/zoomframe/z_order_position This example demonstrates how to retrieve the z-order position of a ZoomFrame object. ```APIDOC ## z_order_position Property ### Description Returns the position of a shape in the z-order. Shapes[0] returns the shape at the back of the z-order, and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order. Read-only **int**. ### Definition: ```python @property def z_order_position(self): ... ``` ### See Also * class `ZoomFrame` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### MathLimit.__init__ (base_arg, limit) Source: https://reference.aspose.com/slides/python-net/aspose.slides.mathtext/mathlimit/__init__ Initializes a new instance of the MathLimit class with a base argument and a lower limit. ```APIDOC ## MathLimit.__init__ (base_arg, limit) ### Description Initializes a new instance of the MathLimit class with a base argument and a lower limit. ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Method __init__ ### Endpoint None ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **base_arg** (`IMathElement`) - Description: - **limit** (`IMathElement`) - Description: ### Request Example ```python def __init__(self, base_arg, limit): ... ``` ### Response #### Success Response (200) None #### Response Example None ``` -------------------------------- ### Get Right Margin Source: https://reference.aspose.com/slides/python-net/aspose.slides/itextframeformateffectivedata/margin_right This code example demonstrates how to retrieve the right margin of a TextFrame. ```APIDOC ## margin_right Property ### Description Returns the right margin (points) in a TextFrame. Read-only **float**. ### Definition: ```python @property def margin_right(self): ... ``` ### See Also * class `ITextFrameFormatEffectiveData` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### __init__ Source: https://reference.aspose.com/slides/python-net/aspose.slides.mathtext/matharray/__init__ Creates a mathematical array with a collection of elements. ```APIDOC ## __init__ ### Description Creates a mathematical array with a collection of elements. ### Method __init__ ### Parameters #### Path Parameters - **elements** (Iterable[IMathElement]) - Required - The elements to place in the array ``` -------------------------------- ### Initialize MathBorderBox with Full Border and Strikethrough Options Source: https://reference.aspose.com/slides/python-net/aspose.slides.mathtext/mathborderbox/__init__ This constructor allows for detailed customization of the MathBorderBox, including hiding specific edges and applying strikethrough lines horizontally, vertically, or diagonally. ```python def __init__(self, element, hide_top, hide_bottom, hide_left, hide_right, strikethrough_horizontal, strikethrough_vertical, strikethrough_bottom_left_to_top_right, strikethrough_top_left_to_bottom_right): ... ``` -------------------------------- ### Get the number of properties in the collection Source: https://reference.aspose.com/slides/python-net/aspose.slides/icontrolpropertiescollection/count This example demonstrates how to retrieve the count of properties in an `IControlPropertiesCollection`. ```APIDOC ## count property ### Description Returns a number of properties in the collection. Read-only **int**. ### Definition: ```python @property def count(self): ... ``` ### See Also * class `IControlPropertiesCollection` * module `aspose.slides` * library `Aspose.Slides` ``` -------------------------------- ### Get Camera Zoom Source: https://reference.aspose.com/slides/python-net/aspose.slides/icameraeffectivedata/zoom This example demonstrates how to retrieve the current zoom level of a camera. ```APIDOC ## zoom Property Camera zoom (positive value in percentage). Read-only **float**. ### Definition: ```python @property def zoom(self): ... ``` ### See Also * class `ICameraEffectiveData` * module `aspose.slides` * library `Aspose.Slides` ```