Aspose.Slides FOSS for Python

Properties

FOSS Aspose.Slides برای API Python به صورت زیر سازماندهی شده است 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

دسترسی به جای‌دار

ClassDescription
AdjustValueRepresents a geometry shape’s adjustment value.
AdjustValueCollectionReprasents a collection of shape’s adjustments.
AutoShapeRepresents an AutoShape.
BackgroundRepresents background of a slide.
BaseHandoutNotesSlideHeaderFooterManagerClass in the Slides PYTHON API.
BasePortionFormatویژگی های فرمت کردن قسمت متن مشترک.
BaseShapeLockClass in the Slides PYTHON API.
BaseSlideاین نشان داده های مشترک برای تمام انواع اسلاید است.
BulletFormatنشان دهنده ویژگی های فرمت بندی گره ی پاراگراف است.
CameraRepresents Camera.
CellRepresents a cell of a table.
CellCollectionRepresents a collection of cells.
CellFormatRepresents format of a table cell.
ColorFormatRepresents a color used in a presentation.
ColumnRepresents a column in a table.
ColumnCollectionRepresents collection of columns in a table.
CommentRepresents a comment on a slide.
CommentAuthorRepresents an author of comments.
CommentAuthorCollectionRepresents a collection of comment authors.
CommentCollectionRepresents a collection of comments of one author.
ConnectorRepresents a connector.
DocumentPropertiesRepresents properties of a presentation.
EffectFormatنشان دهنده خواص اثر شکل است.
FillFormatگزینه های پر کردن فرم را نشان می دهد.
FontDataRepresents a font definition.
FontsFonts collection.
GeometryShapeClass with 1 method and 31 properties.
GlobalLayoutSlideCollectionمجموعه ای از تمام اسلاید های طرح در ارائه را نشان می دهد.
GradientFormatRepresent a gradient format.
GradientStopRepresents a gradient format.
GradientStopCollectionRepresnts a collection of gradient stops.
GraphicalObjectClass with 1 method and 29 properties.
GraphicalObjectLockClass extending BaseShapeLock.
GroupShapeRepresents a group of shapes on a slide.
GroupShapeLockDetermines which operations are disabled on the parent GroupShape.
HeadingPairRepresents a ‘Heading pair’ property of the document.
ImageRepresents a raster or vector image.
ImageCollectionRepresents collection of PPImage.
Imagesروش های کار و راه حل برای کار با .
LayoutSlideRepresents a layout slide.
LayoutSlideCollectionیک کلاس پایه برای جمع آوری اسلاید های طرح را نشان می دهد.
LightRigRepresents LightRig.
LineFillFormatنشان دهنده خواص پر کردن خط ها است.
LineFormatRepresents format of a line.
MasterLayoutSlideCollectionمجموعه ای از تمام اسلاید های طرحی از اسلات استاد تعریف شده را نشان می دهد.
MasterSlideRepresents a master slide in a presentation.
MasterSlideCollectionRepresents a collection of master slides.
NotesSizeRepresents a size of notes slide.
NotesSlideRepresents a notes slide in a presentation.
NotesSlideHeaderFooterManagerنماینده مدیر است که رفتار یادداشت های اسلاید را نگه می دارد، از جمله سر و کله.
NotesSlideManagerNotes slide manager.
PPImageRepresents an image in a presentation.
PVIObjectانکپولات زیرساخت خدمات پایه برای اشیاء می تواند موضوع میراث ارزش دارایی باشد.
ParagraphRepresents a paragraph of text.
ParagraphCollectionRepresents a collection of a paragraphs.
ParagraphFormatاین کلاس شامل ویژگی های فرمت بندی پاراگراف است.
PatternFormatRepresents a pattern to fill a shape.
PictureRepresents a picture in a presentation.
PictureFillFormatنمایانگر یک سبک پر کردن تصویر است.
PictureFrameیک قاب با تصویر در داخل نشان می دهد.
PictureFrameLockDetermines which operations are disabled on the parent PictureFrame.
Portionنشان دهنده بخشی از متن در یک پاراگراف است.
PortionCollectionRepresents a collection of portions.
PortionFormatاین کلاس شامل ویژگی های فرمت بخش متن است.
PresentationRepresents a Microsoft PowerPoint presentation.
RowRepresents a row in a table.
RowCollectionمجموعه ای از جدول های ردیف
ShapeRepresents a shape on a slide.
ShapeBevelاین ویژگی ها را از سبک اصلی شکل می گیرد.
ShapeCollectionRepresents a collection of shapes.
ShapeFrameRepresents shape frame’s properties.
SlideRepresents a slide in a presentation.
SlideCollectionRepresents a collection of a slides.
TableRepresents a table on a slide.
TableFormatRepresents format of a table.
TextFrameRepresents a TextFrame.
TextFrameFormatContains the TextFrame’s formatTextFrameFormatting properties.
ThreeDFormatRepresents 3-D properties.

Properties

EnumerationDescription
BackgroundTypeمشخص کردن منبع پس زمینه اسلاید.
BevelPresetTypeثابت که 3D bevel شکل را تعریف می کند.
BulletTypeاین نوع گلوله های گسترش یافته را نشان می دهد.
CameraPresetTypeثابت هایی که نوع پیش تنظیم دوربین را تعریف می کنند.
ColorTypeرنگ های مختلف را نشان می دهد.
FillBlendModeDetermines blend mode.
FillTypeمشخص کردن نوع پر کردن داخلی از اشیاء بصری مختلف.
FontAlignmentمتن متن خطی را نشان می دهد.
GradientDirectionاین سبک گرادین است.
GradientShapeشکل پر کردن گرادینت را نشان می دهد.
LightRigPresetTypeثابت هایی که نوع نور پیش تنظیم شده را تعریف می کنند.
LightingDirectionثابت هایی که جهت نور را تعیین می کنند.
LineAlignmentاین نوع خطوط را نشان می دهد.
LineArrowheadLengthRepresents the length of an arrowhead.
LineArrowheadStyleRepresents the style of an arrowhead.
LineArrowheadWidthRepresents the width of an arrowhead.
LineCapStyleاین سبک خطی است.
LineDashStyleاین است که در سبک Dash Line قرار دارد.
LineJoinStyleنشان دهنده خطوط به سبک پیوست.
LineStyleRepresents the style of a line.
MaterialPresetTypeثابت هایی که شکل را تعریف می کنند.
NullableBoolسه گانه ارزش بولین را نشان می دهد.
NumberedBulletStyleنمایانگر سبک گلوله های شماره شده است.
OrientationRepresents the orientation of a shape.
PatternStyleنماد سبک رو نشان میده.
PictureFillModeمشخص کنید که چگونه تصویر می تواند منطقه را پر کند.
PresetColorرنگ پیش تعریف شده را نشان می دهد.
PresetShadowTypeنمایشگر یک تنظیمات پیش فرض برای اثر سایه است.
RectangleAlignmentDefines 2-dimension allignment.
SchemeColorRepresents colors in a color scheme.
ShapeTypeنشان دهنده هندسه پیش فرض شکل های هندسی است.
SlideLayoutTypeنشان دهنده نوع طرح اسلاید است.
SourceFormatفرمت فایل منبع را نشان می دهد.
TableStylePresetنمایانگر سبک های میز ساختاری است.
TextAlignmentمتن متن های مختلفی را نشان می دهد.
TextAnchorTypeمتن در یک منطقه متن قرار می گیرد.
TextAutofitTypeمتن به حالت Autofit می پردازد.
TextCapTypeاین نوع از سرمایه گذاری متن است.
TextShapeTypeشکل بسته بندی متن را نشان می دهد.
TextStrikethroughTypeاین نوع متن را به شدت نشان می دهد.
TextUnderlineTypeنشان دهنده نوع متن زیرنویس است.
TextVerticalTypeتعیین حالت نوشتن عمودی برای یک متن.
TileFlipحالت فلیپینگ را تعیین کنید.

زیرپکیج‌ها

ClassDescription
AnimationTimeLineRepresents timeline of animation.
Behaviorنشان دهنده رفتار طبقه پایه اثر است.
BehaviorCollectionمجموعه ای از اثرات رفتاری را نشان می دهد.
BehaviorFactoryکارخانه برای ایجاد موارد اثر رفتاری.
BehaviorPropertyانواع ویژگی های انیمیشن را نشان دهید.
BehaviorPropertyCollectionمجموعه ای از ویژگی های رفتاری را نشان می دهد.
ColorEffectرنگ تاثیر رفتار اثر را نشان می دهد.
ColorOffsetRepresent color offset.
CommandEffectنشان دادن رفتار اثر دستور از اثر.
EffectRepresents animation effect.
FilterEffectنشان دادن رفتار اثر فیلتر از اثر.
MotionCmdPathRepresent one command of a path.
MotionEffectنشان دادن رفتار اثر حرکت.
MotionPathRepresent motion path.
PointRepresents animation point.
PointCollectionRepresents a collection of animation points.
PropertyEffectنشان دادن رفتار اثر خاصیت تاثیر.
RotationEffectنشان دادن رفتار اثر چرخش از اثر.
ScaleEffectنشان دادن رفتار اثر مقیاس از اثر.
SequenceRepresents sequence (collection of effects).
SequenceCollectionمجموعه ای از ردیف های تعاملی را نشان می دهد.
SetEffectنشان دادن رفتار مجموعه ای از اثرات.
TextAnimationRepresent text animation.
TextAnimationCollectionمجموعه ای از انیمیشن های متن را نشان می دهد.
TimingRepresents animation timing.
EnumerationDescription
AfterAnimationTypeاین نوع بعد از انیمیشن اثر انیمه را نشان می دهد.
AnimateTextTypeنشان دهنده نوع متن انیمیشن اثر انیمه.
BehaviorAccumulateTypeاین نوع از رفتارها به شکل انباشت اثر است.
BehaviorAdditiveTypeنوع اضافی برای رفتار اثر را نشان می دهد.
BuildTypeتعیین نحوه نمایش متن در یک شکل در طول انیمیشن.
ColorDirectionنشان دهنده جهت رنگ برای رفتار اثر رنگی است.
ColorSpaceنشان دهنده فضای رنگ برای رفتار اثر رنگی است.
CommandEffectTypeنشان دهنده نوع اثر فرمان برای رفتار اثر دستور.
EffectChartMajorGroupingTypeنشان دهنده نوع اثر انیمیشن برای عنصر نمودار است.
EffectChartMinorGroupingTypeنشان دهنده نوع اثر انیمیشن برای عنصر نمودار در سری یا دسته.
EffectFillTypeRepresent fill types.
EffectPresetClassTypeنوع های کلاس اثر را نشان می دهد.
EffectRestartTypeنوع بازسازی برای زمان بندی را نشان دهید.
EffectSubtypeنشان دهنده ی زیرنوعهای اثر انیمیشن است.
EffectTriggerTypeنوع اثر را نشان می دهد.
EffectTypeنمایانگر نوع اثر انیمیشن است.
FilterEffectRevealTypeفیلتر نشان دهنده نوع.
FilterEffectSubtypeنشان دهنده فرعیتی از اثر فیلتر است.
FilterEffectTypeنوع اثر فیلتر را نشان می دهد.
MotionCommandPathTypeنمایندگی از انواع فرمان برای حرکات حرکت اثر رفتار.
MotionOriginTypeمشخص می کند که منبع مسیر حرکت به چه معناست.
MotionPathEditModeSpecifies how the motion path moves when the target shape is moved.
MotionPathPointsTypeنمایندگی از انواع نقطه در مسیر حرکت انیمیشن.
PropertyCalcModeTypeحالت کلسیم را برای ویژگی های انیمیشن نشان دهید.
PropertyValueTypeنوع ارزش املاک را نشان می دهد.
ClassDescription
AxesManagerدسترسی به محورهای نمودار را فراهم می کند.
Axisاین شی را که محور یک نمودار را نشان می دهد، درگیر می کند.
BaseChartValueکلاس پایه برای انواع ارزش نمودار.
ChartRepresents a chart on a slide.
ChartCategoryRepresents a chart category.
ChartCategoryCollectionمجموعه ای از دسته های نمودار را نشان می دهد.
ChartDataداده های مورد استفاده برای نمودار سازی.
ChartDataCellیک سلول را در دفتر کار داده های نمودار نشان می دهد.
ChartDataPointنشان دهنده یک نقطه داده سری است.
ChartDataPointCollectionRepresents collection of data points for a series.
ChartDataWorkbookدسترسی به دفتر کار Excel برای داده های نمودار را فراهم می کند.
ChartDataWorksheetیک ورق کار را در دفترچه کار نمودار داده ها نشان می دهد.
ChartLinesFormatویژگی های شبکه را نشان می دهد.
ChartPlotAreaRepresents rectangle where chart should be plotted.
ChartPortionFormatChart portion formatting — wraps inside .
ChartSeriesRepresents a chart series.
ChartSeriesCollectionمجموعه ای از نمودارها را نشان می دهد.
ChartSeriesGroupRepresents group of series.
ChartSeriesGroupCollectionCollection of ChartSeriesGroup objects.
ChartSeriesReadonlyCollectionنگاهی به مجموعه ای از نمودارها که متعلق به یک گروه تک سری است.
ChartTextFormatمشخص کردن فرمت متن پیش فرض برای عناصر متن نمودار.
ChartTitleویژگی های نمودار عنوان را نشان می دهد.
ChartWallRepresents walls on 3D charts.
DataLabelRepresents a series data point label.
DataLabelCollectionRepresents the labels of a chart series.
DataLabelFormatRepresents formatting options for DataLabel.
DataSourceTypeForErrorBarsCustomValuesSpecifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list.
DataTableویژگی های جدول داده ها را نشان می دهد.
DoubleChartValueاین ارزش دوگانه است که توسط یک سلول کتاب کار یا حروف پشتیبانی می شود.
ErrorBarsCustomValuesارزش های نوار خطا را برای یک نقطه داده مشخص می کند.
ErrorBarsFormatخطای سری نمودارها را نشان می دهد.
FormatRepresents chart format properties (fill, line, effect, 3D).
LegendRepresents chart’s legend properties.
LegendEntryCollectionCollection of legend entries.
LegendEntryPropertiesنمایندگی از ویژگی های افسانه ای یک ورودی نمودار.
MarkerRepresents a chart marker (symbol at data points).
Rotation3DRepresents 3D rotation of a chart.
StringChartValueنشان دهنده یک مقدار ردیف پشتیبانی شده توسط سلول های کتاب کار یا حروف.
StringOrDoubleChartValueارزش را نشان می دهد که می تواند یک ردیف یا دوگانه باشد، پشتیبانی شده توسط سلول یا حروف.
TrendlineRepresents a trend line of a chart series.
TrendlineCollectionنشان دهنده مجموعه ای از اشیاء Trendline برای یک سری نمودار.
EnumerationDescription
AxisPositionTypeDetermines a position of axis.
BubbleSizeRepresentationTypeمشخص کردن راه های ممکن برای نشان دادن داده ها به عنوان ابعاد نمودار حباب.
CategoryAxisTypeRepresents a type of a category axis.
ChartDataSourceTypeیک نوع منبع داده از نمودار را نشان می دهد.
ChartTypeRepresents a type of chart.
CombinableSeriesTypesGroupفهرست گروه های انواع سری قابل ترکیب.
CrossesTypeتعیین می کند که محور کجا عبور خواهد کرد.
DataSourceTypeData source types.
DisplayBlanksAsTypeمشخص کنید که چگونه داده های ناپدید شده نمایش داده می شود.
DisplayUnitTypeتعداد داده های نمایش داده شده را تعیین می کند.
ErrorBarTypeRepresents type of error bar.
ErrorBarValueTypeRepresents type of error bar value.
LayoutTargetTypeIf 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موقعیت برچسب های داده را تعیین می کند.
LegendPositionTypeDetermines a position of legend on a chart.
MarkerStyleTypeDetermines form of marker on chart’s data point.
PieSplitTypeRepresents a type of splitting points in the second pie or bar on a pie-of-pie or bar-of-pie chart.
StyleTypeRepresents chart style.
TickLabelPositionTypeنشان دهنده نوع موقعیت برچسب های تیک بر روی محور مشخص شده است.
TickMarkTypeنشان دهنده نوع علامت چوبی برای محور مشخص شده است.
TimeUnitTypeRepresents the base unit for the category axis.
TrendlineTypeRepresents type of trend line.
ClassDescription
ColorRepresents an ARGB color, equivalent to System.Drawing.Color.
PointFیک نقطه 2D با هماهنگی های فلش، معادل System.Drawing.PointF را نشان می دهد.
Sizeاین اندازه یک اندازه 2D با ابعاد کامل است که معادل System.Drawing.Size است.
SizeFاین اندازه دارای ابعاد دو بعدی است که معادل System.Drawing.SizeF است.
ClassDescription
Blurنشان دهنده ی اثر Blur است که بر روی کل شکل، از جمله پر کردن آن اعمال می شود.
FillOverlayRepresents a Fill Overlay effect.
Glowاثر گلوب را نشان می دهد که در آن یک رنگ آبیاری خارج از لبه های شی اضافه می شود.
ImageTransformOperationClass with 3 properties.
InnerShadowRepresents a Inner Shadow effect.
OuterShadowRepresents an Outer Shadow effect.
PresetShadowRepresents a Preset Shadow effect.
ReflectionRepresents a Reflection effect.
SoftEdgeاثر نرم را نشان می دهد.
EnumerationDescription
SaveFormatثابت هایی که فرمت یک نمایش ذخیره شده را تعریف می کنند.
ClassDescription
CornerDirectionTransitionجهت زاویه اثر انتقال اسلاید می کند.
EightDirectionTransitionهشت جهت اثر انتقال اسلاید.
EmptyTransitionاثر انتقال خالی اسلاید
FlyThroughTransitionاثر انتقال پرواز از طریق اسلاید.
GlitterTransitionاثر انتقال گلیتر اسلاید
ClassDescription
FillFormatCollectionمجموعه ای از سبک های پر کردن را نشان می دهد.
FormatSchemeقالب های تعریف شده توسط تم برای شکل ها را ذخیره می کند.
LineFormatCollectionمجموعه ای از سبک های خطی را نشان می دهد.

مرجع سریع

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)

همچنین ببینید

 فارسی