Aspose.Slides FOSS for Python
Properties
The Aspose.Slides FOSS for Python API को इस प्रकार व्यवस्थित किया गया है aspose.slides_foss पैकेज और उसकी सब‑पैकेजेज़। सभी सार्वजनिक क्लासेज़ इस के अंतर्गत स्थित हैं aspose.slides_foss या इसके सब‑मॉड्यूल्स में।.
import aspose.slides_foss as slides
from aspose.slides_foss.export import SaveFormat
from aspose.slides_foss import ShapeType, FillType, NullableBool
from aspose.slides_foss.drawing import Color, PointFसीन में एक परिप्रेक्ष्य कैमरा जोड़ें और उसके फ्रस्टम को कॉन्फ़िगर करें।
| Class | Description |
|---|---|
AdjustValue | Represents a geometry shape’s adjustment value. |
AdjustValueCollection | Reprasents a collection of shape’s adjustments. |
AutoShape | Represents an AutoShape. |
Background | Represents background of a slide. |
BaseHandoutNotesSlideHeaderFooterManager | Class in the Slides PYTHON API. |
BasePortionFormat | सामान्य टेक्स्ट भाग फ़ॉर्मेटिंग प्रॉपर्टीज़। |
BaseShapeLock | Class in the Slides PYTHON API. |
BaseSlide | सभी स्लाइड प्रकारों के लिए सामान्य डेटा का प्रतिनिधित्व करता है। |
BulletFormat | पैराग्राफ बुलेट स्वरूपण गुणों का प्रतिनिधित्व करता है. |
Camera | Represents Camera. |
Cell | Represents a cell of a table. |
CellCollection | Represents a collection of cells. |
CellFormat | Represents format of a table cell. |
ColorFormat | Represents a color used in a presentation. |
Column | Represents a column in a table. |
ColumnCollection | Represents collection of columns in a table. |
Comment | Represents a comment on a slide. |
CommentAuthor | Represents an author of comments. |
CommentAuthorCollection | Represents a collection of comment authors. |
CommentCollection | Represents a collection of comments of one author. |
Connector | Represents a connector. |
DocumentProperties | Represents properties of a presentation. |
EffectFormat | आकार के प्रभाव गुणों का प्रतिनिधित्व करता है। |
FillFormat | एक भरने के स्वरूपण विकल्पों का प्रतिनिधित्व करता है. |
FontData | Represents a font definition. |
Fonts | Fonts collection. |
GeometryShape | Class with 1 method and 31 properties. |
GlobalLayoutSlideCollection | प्रस्तुति में सभी लेआउट स्लाइड का संग्रह प्रस्तुत करता है. |
GradientFormat | Represent a gradient format. |
GradientStop | Represents a gradient format. |
GradientStopCollection | Represnts a collection of gradient stops. |
GraphicalObject | Class with 1 method and 29 properties. |
GraphicalObjectLock | Class extending BaseShapeLock. |
GroupShape | Represents a group of shapes on a slide. |
GroupShapeLock | Determines which operations are disabled on the parent GroupShape. |
HeadingPair | Represents a ‘Heading pair’ property of the document. |
Image | Represents a raster or vector image. |
ImageCollection | Represents collection of PPImage. |
Images | त्वरित और काम करने के तरीके। |
LayoutSlide | Represents a layout slide. |
LayoutSlideCollection | लेआउट स्लाइड के संग्रह के लिए एक आधार वर्ग का प्रतिनिधित्व करता है. |
LightRig | Represents LightRig. |
LineFillFormat | रेखाओं को भरने के गुणों का प्रतिनिधित्व करता है। |
LineFormat | Represents format of a line. |
MasterLayoutSlideCollection | Represents a collections of all layout slides of defined master slide. |
MasterSlide | Represents a master slide in a presentation. |
MasterSlideCollection | Represents a collection of master slides. |
NotesSize | Represents a size of notes slide. |
NotesSlide | Represents a notes slide in a presentation. |
NotesSlideHeaderFooterManager | प्रबन्धक का प्रतिनिधित्व करता है जो हेडर प्लेसहोल्डर सहित नोट्स स्लाइड के प्लेज होल्डर्स की व्यवहार को रखता है. |
NotesSlideManager | Notes slide manager. |
PPImage | Represents an image in a presentation. |
PVIObject | वस्तुओं के लिए बुनियादी सेवा अवसंरचना को सम्पत्ति मूल्य विरासत का विषय बना सकता है। |
Paragraph | Represents a paragraph of text. |
ParagraphCollection | Represents a collection of a paragraphs. |
ParagraphFormat | इस वर्ग में पैराग्राफ स्वरूपण गुण हैं. |
PatternFormat | Represents a pattern to fill a shape. |
Picture | Represents a picture in a presentation. |
PictureFillFormat | चित्र भरने की शैली का प्रतिनिधित्व करता है। |
PictureFrame | एक फ्रेम का प्रतिनिधित्व करता है जिसमें चित्र होता है। |
PictureFrameLock | Determines which operations are disabled on the parent PictureFrame. |
Portion | पाठ अनुच्छेद के भीतर एक पाठ भाग का प्रतिनिधित्व करता है। |
PortionCollection | Represents a collection of portions. |
PortionFormat | This class contains the text portion formatting properties. |
Presentation | Represents a Microsoft PowerPoint presentation. |
Row | Represents a row in a table. |
RowCollection | तालिका पंक्ति संग्रह का प्रतिनिधित्व करता है. |
Shape | Represents a shape on a slide. |
ShapeBevel | इसमें आकार के मुख्य चेहरे की सुविधाएं हैं। |
ShapeCollection | Represents a collection of shapes. |
ShapeFrame | Represents shape frame’s properties. |
Slide | Represents a slide in a presentation. |
SlideCollection | Represents a collection of a slides. |
Table | Represents a table on a slide. |
TableFormat | Represents format of a table. |
TextFrame | Represents a TextFrame. |
TextFrameFormat | Contains the TextFrame’s formatTextFrameFormatting properties. |
ThreeDFormat | Represents 3-D properties. |
Properties
| Enumeration | Description |
|---|---|
BackgroundType | स्लाइड पृष्ठभूमि को भरने के स्रोत का परिभाषा। |
BevelPresetType | ऐसे स्थिरांक जो आकार के 3D बेवल को परिभाषित करते हैं। |
BulletType | विस्तारित गोले के प्रकार का प्रतिनिधित्व करता है। |
CameraPresetType | ऐसे स्थिरांक जो कैमरा पूर्व-सेट प्रकार को परिभाषित करते हैं। |
ColorType | विभिन्न रंग मोडों का प्रतिनिधित्व करता है। |
FillBlendMode | Determines blend mode. |
FillType | विभिन्न दृश्य वस्तुओं के आंतरिक भरने का प्रकार निर्दिष्ट करता है। |
FontAlignment | ऊर्ध्वाधर फ़ॉन्ट संरेखण का प्रतिनिधित्व करता है। |
GradientDirection | यह ढाल शैली का प्रतिनिधित्व करता है। |
GradientShape | ग्रेडिएंट भरने के आकार का प्रतिनिधित्व करता है। |
LightRigPresetType | वे स्थिरांक जो पूर्व निर्धारित प्रकाश प्रकारों को परिभाषित करते हैं। |
LightingDirection | प्रकाश दिशाओं को परिभाषित करने वाले स्थिरांक। |
LineAlignment | रेखा संरेखण प्रकार का प्रतिनिधित्व करता है। |
LineArrowheadLength | Represents the length of an arrowhead. |
LineArrowheadStyle | Represents the style of an arrowhead. |
LineArrowheadWidth | Represents the width of an arrowhead. |
LineCapStyle | लाइन कैप शैली का प्रतिनिधित्व करता है। |
LineDashStyle | रेखा-डैश शैली का प्रतिनिधित्व करता है। |
LineJoinStyle | रेखाओं को जोड़ने वाले शैली का प्रतिनिधित्व करता है। |
LineStyle | Represents the style of a line. |
MaterialPresetType | स्थिर जो आकार की सामग्री को परिभाषित करते हैं। |
NullableBool | तीन बुलियन मानों का प्रतिनिधित्व करता है। |
NumberedBulletStyle | संख्याबद्ध गोलियों की शैली का प्रतिनिधित्व करता है। |
Orientation | Represents the orientation of a shape. |
PatternStyle | यह पैटर्न शैली का प्रतिनिधित्व करता है। |
PictureFillMode | यह निर्धारित करता है कि चित्र क्षेत्र को कैसे भरता है. |
PresetColor | पूर्वनिर्धारित रंग प्रीसेट का प्रतिनिधित्व करता है. |
PresetShadowType | छाया प्रभाव के लिए पूर्व-सेट का प्रतिनिधित्व करता है। |
RectangleAlignment | Defines 2-dimension allignment. |
SchemeColor | Represents colors in a color scheme. |
ShapeType | ज्यामिति आकृतियों की पूर्व निर्धारित ज्यामितीयता का प्रतिनिधित्व करता है। |
SlideLayoutType | स्लाइड लेआउट प्रकार का प्रतिनिधित्व करता है. |
SourceFormat | स्रोत फ़ाइल स्वरूप का प्रतिनिधित्व करता है. |
TableStylePreset | निर्मित टेबल शैलियों का प्रतिनिधित्व करता है। |
TextAlignment | विभिन्न पाठ संरेखण शैलियों का प्रतिनिधित्व करता है। |
TextAnchorType | पाठ क्षेत्र के भीतर टेक्स्ट बॉक्स संरेखण। |
TextAutofitType | पाठ ऑटोफिट मोड का प्रतिनिधित्व करता है. |
TextCapType | पाठ के प्रकार का प्रतिनिधित्व करता है। |
TextShapeType | पाठ लपेटने के आकार का प्रतिनिधित्व करता है। |
TextStrikethroughType | पाठ के प्रकार को दर्शाता है। |
TextUnderlineType | रेखांकित पाठ प्रकार का प्रतिनिधित्व करता है। |
TextVerticalType | किसी पाठ के लिए ऊर्ध्वाधर लेखन मोड निर्धारित करता है. |
TileFlip | टाइल फ्लिपिंग मोड को परिभाषित करता है. |
LoadOptions
| Class | Description |
|---|---|
AnimationTimeLine | Represents timeline of animation. |
Behavior | प्रभाव के आधार वर्ग व्यवहार का प्रतिनिधित्व करें। |
BehaviorCollection | Represents collection of behavior effects. |
BehaviorFactory | Factory for creating behavior effect instances. |
BehaviorProperty | एनिमेशन व्यवहार के लिए गुण प्रकारों का प्रतिनिधित्व करें. |
BehaviorPropertyCollection | Represents collection of behavior properties. |
ColorEffect | प्रभाव के रंग-प्रभाव व्यवहार का प्रतिनिधित्व करें। |
ColorOffset | Represent color offset. |
CommandEffect | प्रभाव के आदेश प्रभाव व्यवहार का प्रतिनिधित्व करें। |
Effect | Represents animation effect. |
FilterEffect | प्रभाव के फिल्टर प्रभाव व्यवहार का प्रतिनिधित्व करें। |
MotionCmdPath | Represent one command of a path. |
MotionEffect | प्रभाव के गति-प्रभाव व्यवहार का प्रतिनिधित्व करें। |
MotionPath | Represent motion path. |
Point | Represents animation point. |
PointCollection | Represents a collection of animation points. |
PropertyEffect | प्रभाव के गुण-प्रभाव व्यवहार का प्रतिनिधित्व करें। |
RotationEffect | प्रभाव के घूर्णन-प्रभाव व्यवहार का प्रतिनिधित्व करें। |
ScaleEffect | प्रभाव के पैमाने पर प्रभाव व्यवहार का प्रतिनिधित्व करें। |
Sequence | Represents sequence (collection of effects). |
SequenceCollection | Represents collection of interactive sequences. |
SetEffect | प्रभाव के सेट-प्रभाव व्यवहार का प्रतिनिधित्व करें। |
TextAnimation | Represent text animation. |
TextAnimationCollection | पाठ एनिमेशन का संग्रह प्रस्तुत करता है। |
Timing | Represents animation timing. |
| Enumeration | Description |
|---|---|
AfterAnimationType | यह एक एनीमेशन प्रभाव के बाद एनिमेटेड प्रकार का प्रतिनिधित्व करता है। |
AnimateTextType | यह एक एनीमेशन प्रभाव के एनिमेटेड पाठ प्रकार का प्रतिनिधित्व करता है। |
BehaviorAccumulateType | प्रभाव व्यवहार के संचय के प्रकार का प्रतिनिधित्व करते हैं। |
BehaviorAdditiveType | प्रभाव व्यवहार के लिए एक अतिरिक्त प्रकार का प्रतिनिधित्व करता है। |
BuildType | यह निर्धारित करता है कि एनीमेशन के दौरान किसी आकृति पर पाठ कैसे दिखाई देगा. |
ColorDirection | रंग प्रभाव व्यवहार के लिए रंग दिशा का प्रतिनिधित्व करता है। |
ColorSpace | रंग प्रभाव व्यवहार के लिए रंग स्थान का प्रतिनिधित्व करता है। |
CommandEffectType | कमांड प्रभाव व्यवहार के लिए कमाण्ड प्रभाव प्रकार का प्रतिनिधित्व करता है। |
EffectChartMajorGroupingType | चार्ट के तत्व के लिए एक एनीमेशन प्रभाव का प्रकार प्रस्तुत करता है। |
EffectChartMinorGroupingType | चार्ट के तत्व के लिए एक एनीमेशन प्रभाव का प्रकार श्रृंखला या श्रेणी में प्रतिनिधित्व करता है। |
EffectFillType | Represent fill types. |
EffectPresetClassType | प्रभाव वर्ग के प्रकार का प्रतिनिधित्व करें। |
EffectRestartType | समय के लिए पुनरारंभ प्रकार का प्रतिनिधित्व करें। |
EffectSubtype | एनीमेशन प्रभाव के उप-प्रकारों का प्रतिनिधित्व करते हैं। |
EffectTriggerType | प्रभावी प्रभाव के प्रकार का प्रतिनिधित्व करें। |
EffectType | एनिमेशन प्रभाव के प्रकार का प्रतिनिधित्व करता है। |
FilterEffectRevealType | फिल्टर प्रदर्शित करता है। |
FilterEffectSubtype | फ़िल्टर प्रभाव उपप्रकारों का प्रतिनिधित्व करता है। |
FilterEffectType | फ़िल्टर प्रभाव के प्रकार हैं। |
MotionCommandPathType | एनीमेशन मोशन प्रभाव व्यवहार के लिए कमांड प्रकार का प्रतिनिधित्व करें। |
MotionOriginType | यह निर्दिष्ट करता है कि आंदोलन मार्ग की उत्पत्ति किसके लिए अपेक्षाकृत है। |
MotionPathEditMode | Specifies how the motion path moves when the target shape is moved. |
MotionPathPointsType | एनीमेशन मोशन मार्ग में बिंदुओं के प्रकार का प्रतिनिधित्व करें। |
PropertyCalcModeType | एनीमेशन संपत्ति के लिए कैल्क मोड का प्रतिनिधित्व करें। |
PropertyValueType | संपत्ति के मूल्य प्रकार का प्रतिनिधित्व करें। |
| Class | Description |
|---|---|
AxesManager | चार्ट अक्षों तक पहुंच प्रदान करता है। |
Axis | यह उस वस्तु को एम्कैप्स करता है जो एक चार्ट के धुरी का प्रतिनिधित्व करता हैं। |
BaseChartValue | चार्ट मूल्य प्रकार के लिए आधार वर्ग। |
Chart | Represents a chart on a slide. |
ChartCategory | Represents a chart category. |
ChartCategoryCollection | चार्ट श्रेणियों का संग्रह प्रस्तुत करता है। |
ChartData | चार्ट प्लॉटिंग के लिए प्रयुक्त डेटा का प्रतिनिधित्व करता है। |
ChartDataCell | चार्ट डेटा कार्यपुस्तिका में एक सेल का प्रतिनिधित्व करता है. |
ChartDataPoint | एक श्रृंखला डेटा बिंदु का प्रतिनिधित्व करता है। |
ChartDataPointCollection | Represents collection of data points for a series. |
ChartDataWorkbook | चार्ट डेटा के लिए एम्बेडेड एक्सेल कार्यपुस्तिका तक पहुंच प्रदान करता है. |
ChartDataWorksheet | चार्ट डेटा कार्यपुस्तिका में एक कार्यपत्रक का प्रतिनिधित्व करता है। |
ChartLinesFormat | ग्रीडलाइन प्रारूप गुणों का प्रतिनिधित्व करता है। |
ChartPlotArea | Represents rectangle where chart should be plotted. |
ChartPortionFormat | Chart portion formatting — wraps inside . |
ChartSeries | Represents a chart series. |
ChartSeriesCollection | Represents collection of chart series. |
ChartSeriesGroup | Represents group of series. |
ChartSeriesGroupCollection | Collection of ChartSeriesGroup objects. |
ChartSeriesReadonlyCollection | एक ही श्रृंखला समूह में शामिल चार्ट श्रद्धांजलि का एकमात्र दृश्य। |
ChartTextFormat | चार्ट पाठ तत्वों के लिए डिफ़ॉल्ट टेक्स्ट प्रारूपण निर्दिष्ट करता है। |
ChartTitle | चार्ट शीर्षक संपत्ति का प्रतिनिधित्व करता है। |
ChartWall | Represents walls on 3D charts. |
DataLabel | Represents a series data point label. |
DataLabelCollection | Represents the labels of a chart series. |
DataLabelFormat | Represents formatting options for DataLabel. |
DataSourceTypeForErrorBarsCustomValues | Specifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list. |
DataTable | डेटा तालिका की विशेषताओं का प्रतिनिधित्व करता है। |
DoubleChartValue | Represents a double value backed by a workbook cell or literal. |
ErrorBarsCustomValues | एक एकल डेटा बिंदु के लिए त्रुटि पट्टी मान निर्दिष्ट करता है. |
ErrorBarsFormat | चार्ट श्रृंखला की त्रुटि पट्टी दर्शाता है। |
Format | Represents chart format properties (fill, line, effect, 3D). |
Legend | Represents chart’s legend properties. |
LegendEntryCollection | Collection of legend entries. |
LegendEntryProperties | चार्ट प्रविष्टि के किंवदंती गुणों का प्रतिनिधित्व करता है। |
Marker | Represents a chart marker (symbol at data points). |
Rotation3D | Represents 3D rotation of a chart. |
StringChartValue | Represents a string value backed by workbook cells or literal. |
StringOrDoubleChartValue | Represents a value that can be string or double, backed by a cell or literal. |
Trendline | Represents a trend line of a chart series. |
TrendlineCollection | चार्ट श्रृंखला के लिए ट्रेंडलाइन ऑब्जेक्ट्स का संग्रह दर्शाता है. |
| Enumeration | Description |
|---|---|
AxisPositionType | Determines a position of axis. |
BubbleSizeRepresentationType | यह बुलबुले चार्ट आकार के रूप में डेटा का प्रतिनिधित्व करने के संभावित तरीकों को निर्दिष्ट करता है। |
CategoryAxisType | Represents a type of a category axis. |
ChartDataSourceType | यह चार्ट के डेटा स्रोत का एक प्रकार है। |
ChartType | Represents a type of chart. |
CombinableSeriesTypesGroup | संयुक्त श्रृंखला प्रकारों के समूहों की सूची। |
CrossesType | यह निर्धारित करता है कि एक्स कहां पार करेगा। |
DataSourceType | Data source types. |
DisplayBlanksAsType | यह निर्धारित करता है कि कैसे खोए हुए डेटा प्रदर्शित किए जाएंगे। |
DisplayUnitType | प्रदर्शित डेटा की बहुतायत निर्धारित करता है। |
ErrorBarType | Represents type of error bar. |
ErrorBarValueType | Represents type of error bar value. |
LayoutTargetType | If layout of the plot area defined manually this property specifies whether to layout the plot area by its inside (not including axis and axis labels) or outside (including axis and axis labels). |
LegendDataLabelPosition | डेटा लेबल की स्थिति निर्धारित करता है। |
LegendPositionType | Determines a position of legend on a chart. |
MarkerStyleType | Determines form of marker on chart’s data point. |
PieSplitType | Represents a type of splitting points in the second pie or bar on a pie-of-pie or bar-of-pie chart. |
StyleType | Represents chart style. |
TickLabelPositionType | निर्दिष्ट एक्स पर टिक-मार्क लेबल के पदोन्नति प्रकार का प्रतिनिधित्व करता है। |
TickMarkType | निर्दिष्ट एक्स के लिए टिक मार्क प्रकार का प्रतिनिधित्व करता है। |
TimeUnitType | Represents the base unit for the category axis. |
TrendlineType | Represents type of trend line. |
| Class | Description |
|---|---|
Color | Represents an ARGB color, equivalent to System.Drawing.Color. |
PointF | Represents a 2D point with float coordinates, equivalent to System.Drawing.PointF. |
Size | Represents a 2D size with integer dimensions, equivalent to System.Drawing.Size. |
SizeF | Represents a 2D size with float dimensions, equivalent to System.Drawing.SizeF. |
| Class | Description |
|---|---|
Blur | एक धुंधला प्रभाव का प्रतिनिधित्व करता है जो इसकी भरण सहित पूरे आकार पर लागू होता है। |
FillOverlay | Represents a Fill Overlay effect. |
Glow | एक चमक प्रभाव का प्रतिनिधित्व करता है, जिसमें वस्तु के किनारों से बाहर रंग की धुंधली रूपरेखा जोड़ी जाती है। |
ImageTransformOperation | Class with 3 properties. |
InnerShadow | Represents a Inner Shadow effect. |
OuterShadow | Represents an Outer Shadow effect. |
PresetShadow | Represents a Preset Shadow effect. |
Reflection | Represents a Reflection effect. |
SoftEdge | यह एक नरम किनारे प्रभाव का प्रतिनिधित्व करता है। |
| Enumeration | Description |
|---|---|
SaveFormat | वे स्थिरांक जो सहेजे गए प्रस्तुति के प्रारूप को परिभाषित करते हैं. |
| Class | Description |
|---|---|
CornerDirectionTransition | Corner direction slide transition effect. |
EightDirectionTransition | Eight direction slide transition effect. |
EmptyTransition | खाली स्लाइड संक्रमण प्रभाव। |
FlyThroughTransition | फ्लाई-थ्रू स्लाइड संक्रमण प्रभाव। |
GlitterTransition | चमकदार स्लाइड संक्रमण प्रभाव। |
| Class | Description |
|---|---|
FillFormatCollection | Represents the collection of fill styles. |
FormatScheme | आकृतियों के लिए विषय-परिभाषित प्रारूपों को संग्रहीत करता है. |
LineFormatCollection | Represents the collection of line styles. |
SaveOptions
import aspose.slides_foss as slides
from aspose.slides_foss import ShapeType, FillType, NullableBool
from aspose.slides_foss.drawing import Color
from aspose.slides_foss.export import SaveFormat
with slides.Presentation() as prs:
slide = prs.slides[0]
# Add shape with text
shape = slide.shapes.add_auto_shape(ShapeType.RECTANGLE, 50, 50, 400, 120)
tf = shape.add_text_frame("Slide content")
# Format the text
fmt = tf.paragraphs[0].portions[0].portion_format
fmt.font_height = 24
fmt.font_bold = NullableBool.TRUE
fmt.fill_format.fill_type = FillType.SOLID
fmt.fill_format.solid_fill_color.color = Color.from_argb(255, 0, 70, 127)
# Fill the shape
shape.fill_format.fill_type = FillType.SOLID
shape.fill_format.solid_fill_color.color = Color.from_argb(255, 230, 240, 255)
prs.save("demo.pptx", SaveFormat.PPTX)संबंधित देखें
- डेवलपर गाइड: कोड उदाहरणों के साथ फीचर गाइड्स
- हाउ-टू गाइड्स: कार्य-उन्मुख लेख
- शुरूआत: स्थापना और पहला स्क्रिप्ट