Slides Service

اسلایدها

این سرویس به اسکریپت‌ها اجازه می‌دهد تا فایل‌های اسلایدهای گوگل را ایجاد، به آنها دسترسی پیدا کرده و تغییر دهند. برای جزئیات بیشتر در مورد ویژگی‌های اساسی سرویس اسلایدها، به مستندات اسلایدهای گوگل نیز مراجعه کنید.

کلاس‌ها

نام شرح مختصر
Affine Transform یک ماتریس ۳x۳ که برای تبدیل مختصات مبدا (x1, y1) به مختصات مقصد (x2, y2) طبق ضرب ماتریس‌ها استفاده می‌شود:
[ x2 ]   [ scaleX shearX translateX ] [ x1 ]
[ y2 ] = [ shearY scaleY translateY ] [ y1 ]
[ 1  ]   [   0      0        1      ] [ 1  ]
Affine Transform Builder یک سازنده برای اشیاء Affine Transform .
Alignment Position موقعیت ترازبندی که باید اعمال شود.
Arrow Style انواع فرم‌های شروع و پایان که هندسه خطی را می‌توان با آنها نمایش داد.
Auto Text عنصری از متن که به صورت پویا با محتوایی جایگزین می‌شود که می‌تواند با گذشت زمان تغییر کند، مانند شماره اسلاید.
Auto Text Type انواع متن خودکار
Autofit تنظیمات تنظیم خودکار یک شکل را شرح می‌دهد.
Autofit Type انواع تنظیم خودکار.
Border حاشیه اطراف یک عنصر را توصیف می‌کند.
Cell Merge State وضعیت ادغام سلول‌های جدول.
Color رنگ غیرشفاف
Color Scheme یک طرح رنگی، نگاشتی از اعضای Theme Color Type به رنگ‌های واقعی مورد استفاده برای رندر کردن آنها را تعریف می‌کند.
Connection Site محل اتصال روی یک Page Element که می‌تواند به یک connector متصل شود.
Content Alignment ترازبندی محتوا برای یک سلول Shape یا Table Cell .
Dash Style انواع خط تیره‌هایی که می‌توان با آنها هندسه خطی را ترسیم کرد.
Fill پس‌زمینه عنصر صفحه را توصیف می‌کند
Fill Type انواع پر کردن.
Group مجموعه‌ای از Page Element که به عنوان یک واحد واحد به هم پیوسته‌اند.
Image یک Page Element که نشان دهنده یک تصویر است.
Layout طرح‌بندی در یک ارائه.
Line یک Page Element که نمایانگر یک خط است.
Line Category دسته بندی خط.
Line Fill پر کردن یک خط یا طرح کلی را توصیف می‌کند
Line Fill Type انواع پر کردن خط.
Line Type انواع خط.
Link یک پیوند فرامتنی.
Link Type انواع یک Link .
List فهرستی در متن.
List Preset الگوهای از پیش تعیین‌شده‌ی گلیف‌ها برای فهرست‌ها در متن.
List Style استایل‌دهی لیست برای طیف وسیعی از متن.
Master استاد در ارائه.
Notes Master استاد یادداشت‌برداری در ارائه.
Notes Page یک صفحه یادداشت در یک ارائه.
Page یک صفحه در یک ارائه.
Page Background پیشینه صفحه را توصیف می‌کند
Page Background Type انواع پس‌زمینه‌های صفحه
Page Element یک عنصر بصری که در یک صفحه نمایش داده می‌شود.
Page Element Range مجموعه‌ای از یک یا چند نمونه Page Element .
Page Element Type نوع عنصر صفحه.
Page Range مجموعه‌ای از یک یا چند نمونه Page .
Page Type انواع صفحه.
Paragraph بخشی از متن که با یک کاراکتر خط جدید خاتمه می‌یابد.
Paragraph Alignment انواع ترازبندی متن برای یک پاراگراف
Paragraph Style سبک‌های متنی که برای کل پاراگراف‌ها اعمال می‌شوند.
Picture Fill یک پرکننده که تصویری را رندر می‌کند که به ابعاد ظرف خود کشیده شده است.
Placeholder Type انواع جانگهدار.
Point نقطه‌ای که نشان‌دهنده‌ی یک مکان است.
Predefined Layout طرح‌بندی‌های از پیش تعریف‌شده
Presentation یک ارائه.
Selection انتخاب کاربر در ارائه فعال.
Selection Type نوع Selection .
Shape یک Page Element که نشان‌دهنده یک شکل عمومی است که طبقه‌بندی خاص‌تری ندارد.
Shape Type انواع شکل.
Sheets Chart یک Page Element که نمودار پیوندی جاسازی‌شده از Google Sheets را نشان می‌دهد.
Sheets Chart Embed Type نوع جاسازی نمودار Sheets.
Slide یک اسلاید در یک ارائه.
Slide Linking Mode نحوه‌ی لینک‌های بین اسلایدها.
Slide Position موقعیت نسبی یک Slide .
Slides App Presentations ایجاد و باز می‌کند که قابل ویرایش هستند.
Solid Fill یک رنگ ثابت برای پر کردن.
Spacing Mode حالت‌های مختلف فاصله‌گذاری پاراگراف
Speaker Spotlight یک Page Element که نشان‌دهنده‌ی نورافکن بلندگو است.
Table یک Page Element که نشان دهنده یک جدول است.
Table Cell یک سلول در یک جدول.
Table Cell Range مجموعه‌ای از یک یا چند نمونه Table Cell .
Table Column یک ستون در یک جدول.
Table Row یک ردیف در یک جدول.
Text Baseline Offset متن از موقعیت عادی خود به صورت عمودی جابجا می‌شود.
Text Direction متن مسیرها می‌تواند وارد شود.
Text Range بخشی از محتوای متنی یک Shape یا یک Table Cell .
Text Style سبک متن.
Theme Color رنگی که به یک ورودی در Color Scheme صفحه اشاره دارد.
Theme Color Type نام یک ورودی در طرح رنگ صفحه.
Video یک Page Element که نشان‌دهنده‌ی یک ویدیو است.
Video Source Type انواع منبع ویدیو.
Word Art یک Page Element که نمایانگر هنر نوشتاری است.

Affine Transform

روش‌ها

روش نوع بازگشتی شرح مختصر
get Scale X() Number عنصر مقیاس‌بندی مختصات X را دریافت می‌کند.
get Scale Y() Number عنصر مقیاس‌بندی مختصات Y را دریافت می‌کند.
get Shear X() Number المان برش مختصات X را دریافت می‌کند.
get Shear Y() Number المان برشی مختصات Y را دریافت می‌کند.
get Translate X() Number عنصر انتقال مختصات X را بر حسب نقطه دریافت می‌کند.
get Translate Y() Number عنصر انتقال مختصات Y را بر حسب نقطه دریافت می‌کند.
to Builder() Affine Transform Builder یک Affine Transform Builder جدید بر اساس این تبدیل برمی‌گرداند.

Affine Transform Builder

روش‌ها

روش نوع بازگشتی شرح مختصر
build() Affine Transform یک شیء Affine Transform ایجاد می‌کند که با عناصر تنظیم‌شده در سازنده مقداردهی اولیه شده است.
set Scale X(scaleX) Affine Transform Builder عنصر مقیاس‌بندی مختصات X را تنظیم کرده و سازنده را برمی‌گرداند.
set Scale Y(scaleY) Affine Transform Builder عنصر مقیاس‌بندی مختصات Y را تنظیم کرده و سازنده را برمی‌گرداند.
set Shear X(shearX) Affine Transform Builder عنصر برش مختصات X را تنظیم کرده و سازنده را برمی‌گرداند.
set Shear Y(shearY) Affine Transform Builder عنصر برش مختصات Y را تنظیم کرده و سازنده را برمی‌گرداند.
set Translate X(translateX) Affine Transform Builder عنصر انتقال مختصات X را بر حسب نقطه تنظیم می‌کند و سازنده را برمی‌گرداند.
set Translate Y(translateY) Affine Transform Builder عنصر انتقال مختصات Y را بر حسب نقطه تنظیم می‌کند و سازنده را برمی‌گرداند.

Alignment Position

خواص

ملک نوع توضیحات
CENTER Enum با مرکز تراز کنید.
HORIZONTAL_CENTER Enum با مرکز افقی تراز کنید.
VERTICAL_CENTER Enum با مرکز عمودی تراز کنید.

Arrow Style

خواص

ملک نوع توضیحات
UNSUPPORTED Enum یک سبک پیکان که پشتیبانی نمی‌شود.
NONE Enum بدون پیکان.
STEALTH_ARROW Enum تیری با پشت بریدگی‌دار.
FILL_ARROW Enum تیر پر شده.
FILL_CIRCLE Enum دایره پر شده.
FILL_SQUARE Enum مربع پر شده.
FILL_DIAMOND Enum الماس پر شده.
OPEN_ARROW Enum تیر توخالی.
OPEN_CIRCLE Enum دایره توخالی.
OPEN_SQUARE Enum مربع توخالی.
OPEN_DIAMOND Enum الماس توخالی.

Auto Text

روش‌ها

روش نوع بازگشتی شرح مختصر
get Auto Text Type() Auto Text Type |null نوع متن خودکار را برمی‌گرداند.
get Index() Integer|null اندیس متن خودکار را برمی‌گرداند.
get Range() Text Range |null یک Text Range را برمی‌گرداند که متن خودکار را پوشش می‌دهد.

Auto Text Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum یک نوع متن خودکار که پشتیبانی نمی‌شود.
SLIDE_NUMBER Enum یک شماره اسلاید.

Autofit

روش‌ها

روش نوع بازگشتی شرح مختصر
disable Autofit() Autofit Autofit Type یک شکل را روی Autofit Type.NONE تنظیم می‌کند.
get Autofit Type() Autofit Type Autofit Type شکل را دریافت می‌کند.
get Font Scale() Number مقیاس فونت اعمال شده روی شکل را دریافت می‌کند.
get Line Spacing Reduction() Number کاهش فاصله خطوط را که روی شکل اعمال می‌شود، دریافت می‌کند.

Autofit Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum نوعی تنظیم خودکار که پشتیبانی نمی‌شود.
NONE Enum تنظیم خودکار اعمال نمی‌شود.
TEXT_AUTOFIT Enum متن را در هنگام سرریز شدن کوچک می‌کند.
SHAPE_AUTOFIT Enum شکل را متناسب با متن تغییر اندازه می‌دهد.

Border

روش‌ها

روش نوع بازگشتی شرح مختصر
get Dash Style() Dash Style |null Dash Style حاشیه را دریافت می‌کند.
get Line Fill() Line Fill مقدار Line Fill مربوط به حاشیه را برمی‌گرداند.
get Weight() Number|null ضخامت حاشیه را بر حسب نقطه دریافت می‌کند.
is Visible() Boolean مشخص می‌کند که آیا حاشیه قابل مشاهده است یا خیر.
set Dash Style(style) Border Dash Style حاشیه را تنظیم می‌کند.
set Transparent() Border حاشیه را شفاف تنظیم می‌کند.
set Weight(points) Border ضخامت حاشیه را بر حسب نقطه تنظیم می‌کند.

Cell Merge State

خواص

ملک نوع توضیحات
NORMAL Enum سلول ادغام نشده است.
HEAD Enum سلول ادغام شده است و سلول سر (مثلاً بالا سمت چپ) در مجموعه سلول‌های ادغام شده است.
MERGED Enum سلول ادغام شده است اما سلول سر (مثلاً بالا سمت چپ) نیست.

Color

روش‌ها

روش نوع بازگشتی شرح مختصر
as Rgb Color() Rgb Color این رنگ را به یک Rgb Color تبدیل می‌کند.
as Theme Color() Theme Color این رنگ را به Theme Color تبدیل می‌کند.
get Color Type() Color Type نوع این رنگ را بدست آورید.

Color Scheme

روش‌ها

روش نوع بازگشتی شرح مختصر
get Concrete Color(theme) Color Color مشخص مرتبط با Theme Color Type در این طرح رنگی را برمی‌گرداند.
get Theme Colors() Theme Color Type[] لیستی از تمام انواع رنگ‌های ممکن برای تم در یک طرح رنگ را برمی‌گرداند.
set Concrete Color(type, color) Color Scheme رنگ مشخص مرتبط با Theme Color Type در این طرح رنگی را روی رنگ داده شده تنظیم می‌کند.
set Concrete Color(type, red, green, blue) Color Scheme رنگ مشخص مرتبط با Theme Color Type در این طرح رنگی را با رنگ داده شده در قالب RGB تنظیم می‌کند.
set Concrete Color(type, hexColor) Color Scheme رنگ مشخص مرتبط با Theme Color Type در این طرح رنگی را با رنگ داده شده در قالب HEX تنظیم می‌کند.

Connection Site

روش‌ها

روش نوع بازگشتی شرح مختصر
get Index() Integer ایندکس سایت اتصال را برمی‌گرداند.
get Page Element() Page Element Page Element را که سایت اتصال روی آن قرار دارد، برمی‌گرداند.

Content Alignment

خواص

ملک نوع توضیحات
UNSUPPORTED Enum ترازبندی محتوا پشتیبانی نمی‌شود.
TOP Enum محتوا را در بالای نگهدارنده محتوا تراز می‌کند.
MIDDLE Enum محتوا را در وسط نگهدارنده محتوا تراز می‌کند.
BOTTOM Enum محتوا را در پایین نگهدارنده محتوا تراز می‌کند.

Dash Style

خواص

ملک نوع توضیحات
UNSUPPORTED Enum یک سبک خط تیره که پشتیبانی نمی‌شود.
SOLID Enum خط ثابت.
DOT Enum خط نقطه چین.
DASH Enum خط چین.
DASH_DOT Enum خط تیره و نقطه متناوب.
LONG_DASH Enum با خط تیره‌های بزرگ خط بکشید.
LONG_DASH_DOT Enum خط تیره‌ها و نقاط بزرگ متناوب.

Fill

روش‌ها

روش نوع بازگشتی شرح مختصر
get Solid Fill() Solid Fill |null مقدار solid fill این پس‌زمینه را برمی‌گرداند، یا اگر نوع fill برابر Fill Type.SOLID نباشد null برمی‌گرداند.
get Type() Fill Type نوع این پرکننده را بدست آورید.
is Visible() Boolean اینکه آیا پس‌زمینه قابل مشاهده است یا خیر.
set Solid Fill(color) void رنگ توپر (solid fill) را روی Color داده شده تنظیم می‌کند.
set Solid Fill(color, alpha) void مقدار alpha و Color داده شده را برای fill solid (پر کردن جامد) تنظیم می‌کند.
set Solid Fill(red, green, blue) void مقدار پر کردن جامد را روی مقادیر RGB داده شده تنظیم می‌کند.
set Solid Fill(red, green, blue, alpha) void مقدار پر کردن جامد را روی مقادیر آلفا و RGB داده شده تنظیم می‌کند.
set Solid Fill(hexString) void مقدار solid fill را روی رشته رنگ هگز داده شده تنظیم می‌کند.
set Solid Fill(hexString, alpha) void مقدار پر کردن (fill) را روی رشته رنگ آلفا و هگز داده شده تنظیم می‌کند.
set Solid Fill(color) void مقدار solid fill را روی Theme Color Type داده شده تنظیم می‌کند.
set Solid Fill(color, alpha) void مقدار پر کردن (fill) را روی آلفای داده شده و Theme Color Type تنظیم می‌کند.
set Transparent() void پس‌زمینه را شفاف تنظیم می‌کند.

Fill Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum نوع پر کردنی که پشتیبانی نمی‌شود.
NONE Enum بدون رنگ‌آمیزی، بنابراین پس‌زمینه شفاف است.
SOLID Enum یک رنگ ثابت برای پر کردن.

Group

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Group عنصر را در موقعیت ترازبندی مشخص شده در صفحه تراز می‌کند.
bring Forward() Group عنصر صفحه را به اندازه یک عنصر به جلو در صفحه می‌آورد.
bring To Front() Group عنصر صفحه را به جلوی صفحه می‌آورد.
duplicate() Page Element عنصر صفحه را کپی می‌کند.
get Children() Page Element[] مجموعه‌ای از عناصر صفحه در گروه را دریافت می‌کند.
get Connection Sites() Connection Site[] لیستی از Connection Site ) را در عنصر صفحه برمی‌گرداند، یا اگر عنصر صفحه هیچ سایت اتصالی نداشته باشد، یک لیست خالی برمی‌گرداند.
get Description() String توضیحات متن جایگزین (alt text) عنصر صفحه را برمی‌گرداند.
get Height() Number|null ارتفاع عنصر را بر حسب نقطه دریافت می‌کند، که برابر با ارتفاع کادر محصورکننده عنصر در زمانی است که عنصر هیچ چرخشی ندارد.
get Inherent Height() Number|null ارتفاع ذاتی عنصر را بر حسب نقطه برمی‌گرداند.
get Inherent Width() Number|null عرض ذاتی عنصر را بر حسب نقطه برمی‌گرداند.
get Left() Number موقعیت افقی عنصر را بر حسب نقطه برمی‌گرداند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
get Object Id() String شناسه منحصر به فرد این شیء را برمی‌گرداند.
get Page Element Type() Page Element Type نوع عنصر صفحه را برمی‌گرداند، که به صورت یک enum Page Element Type نمایش داده می‌شود.
get Parent Group() Group |null گروهی که این عنصر صفحه به آن تعلق دارد را برمی‌گرداند، یا اگر عنصر در گروهی نباشد null برمی‌گرداند.
get Parent Page() Page صفحه‌ای را که این عنصر صفحه در آن قرار دارد، برمی‌گرداند.
get Rotation() Number زاویه چرخش عنصر در جهت عقربه‌های ساعت حول مرکزش را بر حسب درجه برمی‌گرداند، که در آن صفر درجه به معنای عدم چرخش است.
get Title() String عنوان متن جایگزین (alt text) عنصر صفحه را برمی‌گرداند.
get Top() Number موقعیت عمودی عنصر را بر حسب نقطه دریافت می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
get Transform() Affine Transform تبدیل عنصر صفحه را دریافت می‌کند.
get Width() Number|null عرض عنصر را بر حسب نقطه برمی‌گرداند، که برابر با عرض کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی نداشته باشد.
preconcatenate Transform(transform) Group تبدیل ارائه شده را به تبدیل موجود عنصر صفحه از قبل الحاق می‌کند.
remove() void عنصر صفحه را حذف می‌کند.
scale Height(ratio) Group ارتفاع عنصر را با نسبت مشخص شده مقیاس بندی می‌کند.
scale Width(ratio) Group عرض عنصر را با نسبت مشخص شده تغییر می‌دهد.
select() void فقط Page Element در ارائه فعال انتخاب می‌کند و هرگونه انتخاب قبلی را حذف می‌کند.
select(replace) void Page Element در ارائه فعال انتخاب می‌کند.
send Backward() Group عنصر صفحه را به اندازه یک عنصر به عقب در صفحه ارسال می‌کند.
send To Back() Group عنصر صفحه را به پشت صفحه ارسال می‌کند.
set Description(description) Group توضیحات متن جایگزین (alt text) عنصر صفحه را تنظیم می‌کند.
set Height(height) Group ارتفاع عنصر را بر حسب نقطه تنظیم می‌کند، که برابر با ارتفاع کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی ندارد.
set Left(left) Group موقعیت افقی عنصر را بر حسب نقطه تنظیم می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
set Rotation(angle) Group زاویه چرخش عنصر را در جهت عقربه‌های ساعت حول مرکز آن بر حسب درجه تنظیم می‌کند.
set Title(title) Group عنوان متن جایگزین (alt text) عنصر صفحه را تنظیم می‌کند.
set Top(top) Group موقعیت عمودی عنصر را بر حسب نقطه تنظیم می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
set Transform(transform) Group تبدیل عنصر صفحه را با تبدیل ارائه شده تنظیم می‌کند.
set Width(width) Group عرض عنصر را بر حسب نقطه تنظیم می‌کند، که همان عرض کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی ندارد.
ungroup() void عناصر گروه را از حالت گروه‌بندی خارج می‌کند.

Image

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Image عنصر را در موقعیت ترازبندی مشخص شده در صفحه تراز می‌کند.
bring Forward() Image عنصر صفحه را به اندازه یک عنصر به جلو در صفحه می‌آورد.
bring To Front() Image عنصر صفحه را به جلوی صفحه می‌آورد.
duplicate() Page Element عنصر صفحه را کپی می‌کند.
get As(contentType) Blob داده‌های درون این شیء را به صورت یک blob تبدیل‌شده به نوع محتوای مشخص‌شده، برمی‌گرداند.
get Blob() Blob داده‌های درون این تصویر را به صورت یک حباب (blob) برگردانید.
get Border() Border Border تصویر را برمی‌گرداند.
get Connection Sites() Connection Site[] لیستی از Connection Site ) را در عنصر صفحه برمی‌گرداند، یا اگر عنصر صفحه هیچ سایت اتصالی نداشته باشد، یک لیست خالی برمی‌گرداند.
get Content Url() String یک URL برای تصویر دریافت می‌کند.
get Description() String توضیحات متن جایگزین (alt text) عنصر صفحه را برمی‌گرداند.
get Height() Number|null ارتفاع عنصر را بر حسب نقطه دریافت می‌کند، که برابر با ارتفاع کادر محصورکننده عنصر در زمانی است که عنصر هیچ چرخشی ندارد.
get Inherent Height() Number|null ارتفاع ذاتی عنصر را بر حسب نقطه برمی‌گرداند.
get Inherent Width() Number|null عرض ذاتی عنصر را بر حسب نقطه برمی‌گرداند.
get Left() Number موقعیت افقی عنصر را بر حسب نقطه برمی‌گرداند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
get Link() Link |null Link را برمی‌گرداند و در صورت عدم وجود لینک، null برمی‌گرداند.
get Object Id() String شناسه منحصر به فرد این شیء را برمی‌گرداند.
get Page Element Type() Page Element Type نوع عنصر صفحه را برمی‌گرداند، که به صورت یک enum Page Element Type نمایش داده می‌شود.
get Parent Group() Group |null گروهی که این عنصر صفحه به آن تعلق دارد را برمی‌گرداند، یا اگر عنصر در گروهی نباشد null برمی‌گرداند.
get Parent Page() Page صفحه‌ای را که این عنصر صفحه در آن قرار دارد، برمی‌گرداند.
get Parent Placeholder() Page Element |null عنصر صفحه والدِ مربوط به placeholder را برمی‌گرداند.
get Placeholder Index() Integer|null اندیس تصویر جایگزین (placeholder) را برمی‌گرداند.
get Placeholder Type() Placeholder Type نوع جای‌نگهدار تصویر یا اگر شکل جای‌نگهدار نباشد Placeholder Type.NONE را برمی‌گرداند.
get Rotation() Number زاویه چرخش عنصر در جهت عقربه‌های ساعت حول مرکزش را بر حسب درجه برمی‌گرداند، که در آن صفر درجه به معنای عدم چرخش است.
get Source Url() String|null در صورت وجود، آدرس اینترنتی منبع تصویر را دریافت می‌کند.
get Title() String عنوان متن جایگزین (alt text) عنصر صفحه را برمی‌گرداند.
get Top() Number موقعیت عمودی عنصر را بر حسب نقطه دریافت می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
get Transform() Affine Transform تبدیل عنصر صفحه را برمی‌گرداند.
get Width() Number|null عرض عنصر را بر حسب نقطه برمی‌گرداند، که برابر با عرض کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی نداشته باشد.
preconcatenate Transform(transform) Image تبدیل ارائه شده را به تبدیل موجود عنصر صفحه از قبل الحاق می‌کند.
remove() void عنصر صفحه را حذف می‌کند.
remove Link() void یک Link حذف می‌کند.
replace(blobSource) Image این تصویر را با تصویری که توسط یک شیء Blob Source توصیف شده است، جایگزین می‌کند.
replace(blobSource, crop) Image این تصویر را با تصویری که توسط یک شیء Image توصیف می‌شود، جایگزین می‌کند و به صورت اختیاری تصویر را برای تناسب برش می‌دهد.
replace(imageUrl) Image این تصویر را با تصویر دیگری که از URL ارائه شده دانلود شده است، جایگزین می‌کند.
replace(imageUrl, crop) Image این تصویر را با تصویر دیگری که از URL ارائه شده دانلود شده است جایگزین می‌کند، و به صورت اختیاری تصویر را برای تناسب برش می‌دهد.
scale Height(ratio) Image ارتفاع عنصر را با نسبت مشخص شده مقیاس بندی می‌کند.
scale Width(ratio) Image عرض عنصر را با نسبت مشخص شده تغییر می‌دهد.
select() void فقط Page Element در ارائه فعال انتخاب می‌کند و هرگونه انتخاب قبلی را حذف می‌کند.
select(replace) void Page Element در ارائه فعال انتخاب می‌کند.
send Backward() Image عنصر صفحه را به اندازه یک عنصر به عقب در صفحه ارسال می‌کند.
send To Back() Image عنصر صفحه را به پشت صفحه ارسال می‌کند.
set Description(description) Image توضیحات متن جایگزین (alt text) عنصر صفحه را تنظیم می‌کند.
set Height(height) Image ارتفاع عنصر را بر حسب نقطه تنظیم می‌کند، که برابر با ارتفاع کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی ندارد.
set Left(left) Image موقعیت افقی عنصر را بر حسب نقطه تنظیم می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
set Link Slide(slideIndex) Link با استفاده از اندیس مبتنی بر صفر اسلاید، Link به Slide داده شده تنظیم می‌کند.
set Link Slide(slide) Link یک Link به Slide داده شده تنظیم می‌کند، لینک توسط شناسه اسلاید داده شده تنظیم می‌شود.
set Link Slide(slidePosition) Link با استفاده از موقعیت نسبی اسلاید، Link به Slide داده شده تنظیم می‌کند.
set Link Url(url) Link یک Link به رشته URL غیر خالی داده شده تنظیم می‌کند.
set Rotation(angle) Image زاویه چرخش عنصر را در جهت عقربه‌های ساعت حول مرکز آن بر حسب درجه تنظیم می‌کند.
set Title(title) Image عنوان متن جایگزین (alt text) عنصر صفحه را تنظیم می‌کند.
set Top(top) Image موقعیت عمودی عنصر را بر حسب نقطه تنظیم می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
set Transform(transform) Image تبدیل عنصر صفحه را با تبدیل ارائه شده تنظیم می‌کند.
set Width(width) Image عرض عنصر را بر حسب نقطه تنظیم می‌کند، که همان عرض کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی ندارد.

Layout

روش‌ها

روش نوع بازگشتی شرح مختصر
get Background() Page Background پس‌زمینه صفحه را دریافت می‌کند.
get Color Scheme() Color Scheme Color Scheme مرتبط با صفحه را دریافت می‌کند.
get Groups() Group[] لیست اشیاء Group را در صفحه برمی‌گرداند.
get Images() Image[] لیست اشیاء Image موجود در صفحه را برمی‌گرداند.
get Layout Name() String نام طرح‌بندی (layout) را دریافت می‌کند.
get Lines() Line[] لیست اشیاء Line را در صفحه برمی‌گرداند.
get Master() Master مستری را که طرح‌بندی بر اساس آن است، دریافت می‌کند.
get Object Id() String شناسه منحصر به فرد صفحه را دریافت می‌کند.
get Page Element By Id(id) Page Element |null Page Element را در صفحه با شناسه داده شده برمی‌گرداند، یا در صورت وجود نداشتن null برمی‌گرداند.
get Page Elements() Page Element[] لیستی از اشیاء Page Element که در صفحه رندر شده‌اند را برمی‌گرداند.
get Page Type() Page Type نوع صفحه را دریافت می‌کند.
get Placeholder(placeholderType) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص‌شده برمی‌گرداند یا در صورت عدم وجود جانگهدار منطبق، null برمی‌گرداند.
get Placeholder(placeholderType, placeholderIndex) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص شده و یک اندیس جانگهدار برمی‌گرداند، یا در صورت عدم وجود جانگهدار، null را برمی‌گرداند.
get Placeholders() Page Element[] لیستی از اشیاء Page Element که به عنوان placeholder در صفحه قرار دارند را برمی‌گرداند.
get Shapes() Shape[] لیست اشیاء Shape موجود در صفحه را برمی‌گرداند.
get Sheets Charts() Sheets Chart[] لیست اشیاء Sheets Chart را در صفحه برمی‌گرداند.
get Tables() Table[] لیست اشیاء Table موجود در صفحه را برمی‌گرداند.
get Videos() Video[] لیست اشیاء Video ) موجود در صفحه را برمی‌گرداند.
get Word Arts() Word Art[] لیست اشیاء Word Art موجود در صفحه را برمی‌گرداند.
group(pageElements) Group تمام عناصر صفحه مشخص شده را گروه بندی می کند.
insert Group(group) Group یک کپی از Group ارائه شده را در صفحه قرار می‌دهد.
insert Image(blobSource) Image تصویری را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض از حباب تصویر مشخص شده درج می‌کند.
insert Image(blobSource, left, top, width, height) Image تصویری را با موقعیت و اندازه‌ی مشخص‌شده از ناحیه‌ی تصویر مشخص‌شده، در صفحه درج می‌کند.
insert Image(image) Image یک کپی از Image ارائه شده را در صفحه قرار می‌دهد.
insert Image(imageUrl) Image تصویری را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض از URL ارائه شده درج می‌کند.
insert Image(imageUrl, left, top, width, height) Image تصویری را با موقعیت و اندازه‌ی مشخص شده از URL ارائه شده، در صفحه درج می‌کند.
insert Line(line) Line یک کپی از Line ارائه شده را در صفحه درج می‌کند.
insert Line(lineCategory, startConnectionSite, endConnectionSite) Line خطی را در صفحه درج می‌کند که دو connection sites به هم متصل می‌کند.
insert Line(lineCategory, startLeft, startTop, endLeft, endTop) Line یک خط در صفحه درج می‌کند.
insert Page Element(pageElement) Page Element یک کپی از Page Element ارائه شده را در صفحه درج می‌کند.
insert Shape(shape) Shape یک کپی از Shape ارائه شده را در صفحه درج می‌کند.
insert Shape(shapeType) Shape یک شکل را در صفحه درج می‌کند.
insert Shape(shapeType, left, top, width, height) Shape یک شکل را در صفحه درج می‌کند.
insert Sheets Chart(sourceChart) Sheets Chart یک نمودار Google Sheets در صفحه درج می‌کند.
insert Sheets Chart(sourceChart, left, top, width, height) Sheets Chart یک نمودار Google Sheets با موقعیت و اندازه ارائه شده در صفحه درج می‌کند.
insert Sheets Chart(sheetsChart) Sheets Chart یک کپی از Sheets Chart ارائه شده را در صفحه درج می‌کند.
insert Sheets Chart As Image(sourceChart) Image نمودار Google Sheets را به عنوان Image در صفحه درج می‌کند.
insert Sheets Chart As Image(sourceChart, left, top, width, height) Image یک نمودار Google Sheets را به عنوان Image با موقعیت و اندازه ارائه شده در صفحه درج می‌کند.
insert Table(numRows, numColumns) Table یک جدول در صفحه درج می‌کند.
insert Table(numRows, numColumns, left, top, width, height) Table یک جدول با موقعیت و اندازه‌ی مشخص‌شده در صفحه درج می‌کند.
insert Table(table) Table یک کپی از Table ارائه شده را در صفحه درج می‌کند.
insert Text Box(text) Shape یک کادر متنی Shape حاوی رشته ارائه شده در صفحه درج می‌کند.
insert Text Box(text, left, top, width, height) Shape یک کادر متنی Shape حاوی رشته ارائه شده در صفحه درج می‌کند.
insert Video(videoUrl) Video یک ویدیو را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض درج می‌کند.
insert Video(videoUrl, left, top, width, height) Video یک ویدیو را با موقعیت و اندازه‌ی مشخص شده در صفحه قرار می‌دهد.
insert Video(video) Video یک کپی از Video ارائه شده را در صفحه قرار می‌دهد.
insert Word Art(wordArt) Word Art یک کپی از Word Art ارائه شده را در صفحه قرار می‌دهد.
remove() void صفحه را حذف می‌کند.
replace All Text(findText, replaceText) Integer تمام نمونه‌های متن منطبق با find text را با replace text جایگزین می‌کند.
replace All Text(findText, replaceText, matchCase) Integer تمام نمونه‌های متن منطبق با find text را با replace text جایگزین می‌کند.
select As Current Page() void Page در ارائه فعال را به عنوان current page selection انتخاب می‌کند و هر انتخاب قبلی را حذف می‌کند.

Line

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Line عنصر را در موقعیت ترازبندی مشخص شده در صفحه تراز می‌کند.
bring Forward() Line عنصر صفحه را به اندازه یک عنصر به جلو در صفحه می‌آورد.
bring To Front() Line عنصر صفحه را به جلوی صفحه می‌آورد.
duplicate() Page Element عنصر صفحه را کپی می‌کند.
get Connection Sites() Connection Site[] لیستی از Connection Site ) را در عنصر صفحه برمی‌گرداند، یا اگر عنصر صفحه هیچ سایت اتصالی نداشته باشد، یک لیست خالی برمی‌گرداند.
get Dash Style() Dash Style استایل خط Dash Style ) را دریافت می‌کند.
get Description() String توضیحات متن جایگزین (alt text) عنصر صفحه را برمی‌گرداند.
get End() Point نقطه انتهایی خط را که از گوشه بالا سمت چپ صفحه اندازه‌گیری می‌شود، برمی‌گرداند.
get End Arrow() Arrow Style Arrow Style ) پیکان انتهای خط را برمی‌گرداند.
get End Connection() Connection Site |null اتصال انتهای خط را برمی‌گرداند، یا اگر هیچ اتصالی وجود نداشته باشد null برمی‌گرداند.
get Height() Number|null ارتفاع عنصر را بر حسب نقطه دریافت می‌کند، که برابر با ارتفاع کادر محصورکننده عنصر در زمانی است که عنصر هیچ چرخشی ندارد.
get Inherent Height() Number|null ارتفاع ذاتی عنصر را بر حسب نقطه برمی‌گرداند.
get Inherent Width() Number|null عرض ذاتی عنصر را بر حسب نقطه برمی‌گرداند.
get Left() Number موقعیت افقی عنصر را بر حسب نقطه برمی‌گرداند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
get Line Category() Line Category Line Category ) را دریافت می‌کند.
get Line Fill() Line Fill مقدار Line Fill خط را دریافت می‌کند.
get Line Type() Line Type Line Type ) را دریافت می‌کند.
get Link() Link |null Link را برمی‌گرداند و در صورت عدم وجود لینک، null برمی‌گرداند.
get Object Id() String شناسه منحصر به فرد این شیء را برمی‌گرداند.
get Page Element Type() Page Element Type نوع عنصر صفحه را برمی‌گرداند، که به صورت یک enum Page Element Type نمایش داده می‌شود.
get Parent Group() Group |null گروهی که این عنصر صفحه به آن تعلق دارد را برمی‌گرداند، یا اگر عنصر در گروهی نباشد null برمی‌گرداند.
get Parent Page() Page صفحه‌ای را که این عنصر صفحه در آن قرار دارد، برمی‌گرداند.
get Rotation() Number زاویه چرخش عنصر در جهت عقربه‌های ساعت حول مرکزش را بر حسب درجه برمی‌گرداند، که در آن صفر درجه به معنای عدم چرخش است.
get Start() Point نقطه شروع خط را که از گوشه بالا سمت چپ صفحه اندازه‌گیری می‌شود، برمی‌گرداند.
get Start Arrow() Arrow Style Arrow Style مربوط به پیکان ابتدای خط را برمی‌گرداند.
get Start Connection() Connection Site |null اتصال را در ابتدای خط برمی‌گرداند، یا اگر هیچ اتصالی وجود نداشته باشد null برمی‌گرداند.
get Title() String عنوان متن جایگزین (alt text) عنصر صفحه را برمی‌گرداند.
get Top() Number موقعیت عمودی عنصر را بر حسب نقطه دریافت می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
get Transform() Affine Transform تبدیل عنصر صفحه را برمی‌گرداند.
get Weight() Number ضخامت خط را بر حسب نقطه برمی‌گرداند.
get Width() Number|null عرض عنصر را بر حسب نقطه برمی‌گرداند، که برابر با عرض کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی نداشته باشد.
is Connector() Boolean اگر خط یک رابط باشد، true و در غیر این صورت false را برمی‌گرداند.
preconcatenate Transform(transform) Line تبدیل ارائه شده را به تبدیل موجود عنصر صفحه از قبل الحاق می‌کند.
remove() void عنصر صفحه را حذف می‌کند.
remove Link() void یک Link حذف می‌کند.
reroute() Line شروع و انتهای خط را به نزدیکترین دو محل اتصال در عناصر صفحه متصل تغییر مسیر می‌دهد.
scale Height(ratio) Line ارتفاع عنصر را با نسبت مشخص شده مقیاس بندی می‌کند.
scale Width(ratio) Line عرض عنصر را با نسبت مشخص شده تغییر می‌دهد.
select() void فقط Page Element در ارائه فعال انتخاب می‌کند و هرگونه انتخاب قبلی را حذف می‌کند.
select(replace) void Page Element در ارائه فعال انتخاب می‌کند.
send Backward() Line عنصر صفحه را به اندازه یک عنصر به عقب در صفحه ارسال می‌کند.
send To Back() Line عنصر صفحه را به پشت صفحه ارسال می‌کند.
set Dash Style(style) Line Dash Style خط را تنظیم می‌کند.
set Description(description) Line توضیحات متن جایگزین (alt text) عنصر صفحه را تنظیم می‌کند.
set End(left, top) Line موقعیت نقطه انتهایی خط را تعیین می‌کند.
set End(point) Line موقعیت نقطه انتهایی خط را تعیین می‌کند.
set End Arrow(style) Line Arrow Style پیکان انتهای خط را تنظیم می‌کند.
set End Connection(connectionSite) Line اتصال را در انتهای خط تنظیم می‌کند.
set Height(height) Line ارتفاع عنصر را بر حسب نقطه تنظیم می‌کند، که برابر با ارتفاع کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی ندارد.
set Left(left) Line موقعیت افقی عنصر را بر حسب نقطه تنظیم می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
set Line Category(lineCategory) Line Line Category خط را تنظیم می‌کند.
set Link Slide(slideIndex) Link با استفاده از اندیس مبتنی بر صفر اسلاید، Link به Slide داده شده تنظیم می‌کند.
set Link Slide(slide) Link یک Link به Slide داده شده تنظیم می‌کند، لینک توسط شناسه اسلاید داده شده تنظیم می‌شود.
set Link Slide(slidePosition) Link با استفاده از موقعیت نسبی اسلاید، Link به Slide داده شده تنظیم می‌کند.
set Link Url(url) Link یک Link به رشته URL غیر خالی داده شده تنظیم می‌کند.
set Rotation(angle) Line زاویه چرخش عنصر را در جهت عقربه‌های ساعت حول مرکز آن بر حسب درجه تنظیم می‌کند.
set Start(left, top) Line موقعیت نقطه شروع خط را تعیین می‌کند.
set Start(point) Line موقعیت نقطه شروع خط را تعیین می‌کند.
set Start Arrow(style) Line Arrow Style پیکان ابتدای خط را تنظیم می‌کند.
set Start Connection(connectionSite) Line اتصال را در ابتدای خط تنظیم می‌کند.
set Title(title) Line عنوان متن جایگزین (alt text) عنصر صفحه را تنظیم می‌کند.
set Top(top) Line موقعیت عمودی عنصر را بر حسب نقطه تنظیم می‌کند، که از گوشه بالا سمت چپ صفحه، زمانی که عنصر هیچ چرخشی ندارد، اندازه‌گیری می‌شود.
set Transform(transform) Line تبدیل عنصر صفحه را با تبدیل ارائه شده تنظیم می‌کند.
set Weight(points) Line ضخامت خط را بر حسب نقطه تنظیم می‌کند.
set Width(width) Line عرض عنصر را بر حسب نقطه تنظیم می‌کند، که همان عرض کادر اطراف عنصر است وقتی که عنصر هیچ چرخشی ندارد.

Line Category

خواص

ملک نوع توضیحات
UNSUPPORTED Enum یک دسته خط که پشتیبانی نمی‌شود.
STRAIGHT Enum کانکتورهای مستقیم، شامل کانکتور مستقیم ۱.
BENT Enum کانکتورهای خم شده، شامل کانکتور خم شده ۲ تا ۵.
CURVED Enum کانکتورهای منحنی، شامل کانکتور منحنی ۲ تا ۵.

Line Fill

روش‌ها

روش نوع بازگشتی شرح مختصر
get Fill Type() Line Fill Type نوع پر شدن خط را دریافت می‌کند.
get Solid Fill() Solid Fill |null مقدار پر بودن خط را به صورت جامد برمی‌گرداند، یا اگر نوع پر شدن Line Fill Type.SOLID نباشد null برمی‌گرداند.
set Solid Fill(color) void رنگ توپر (solid fill) را روی Color داده شده تنظیم می‌کند.
set Solid Fill(color, alpha) void مقدار alpha و Color داده شده را برای fill solid (پر کردن جامد) تنظیم می‌کند.
set Solid Fill(red, green, blue) void مقدار پر کردن جامد را روی مقادیر RGB داده شده تنظیم می‌کند.
set Solid Fill(red, green, blue, alpha) void مقدار پر کردن جامد را روی مقادیر آلفا و RGB داده شده تنظیم می‌کند.
set Solid Fill(hexString) void مقدار solid fill را روی رشته رنگ هگز داده شده تنظیم می‌کند.
set Solid Fill(hexString, alpha) void مقدار پر کردن (fill) را روی رشته رنگ آلفا و هگز داده شده تنظیم می‌کند.
set Solid Fill(color) void مقدار solid fill را روی Theme Color Type داده شده تنظیم می‌کند.
set Solid Fill(color, alpha) void مقدار پر کردن (fill) را روی آلفای داده شده و Theme Color Type تنظیم می‌کند.

Line Fill Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum نوع پر کردن خط که پشتیبانی نمی‌شود.
NONE Enum بدون پر کردن، بنابراین خط یا طرح کلی شفاف است.
SOLID Enum یک رنگ ثابت برای پر کردن.

Line Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum نوع خطی که پشتیبانی نمی‌شود.
STRAIGHT_CONNECTOR_1 Enum کانکتور مستقیم ۱ شکل.
BENT_CONNECTOR_2 Enum کانکتور خمیده شماره ۲.
BENT_CONNECTOR_3 Enum کانکتور خمیده ۳ شکل.
BENT_CONNECTOR_4 Enum کانکتور خم شده شماره ۴.
BENT_CONNECTOR_5 Enum کانکتور خم شده شماره ۵.
CURVED_CONNECTOR_2 Enum کانکتور منحنی شکل ۲.
CURVED_CONNECTOR_3 Enum کانکتور منحنی شکل ۳ شکل.
CURVED_CONNECTOR_4 Enum کانکتور منحنی شکل ۴ شکل.
CURVED_CONNECTOR_5 Enum کانکتور منحنی شکل ۵ شکل.
STRAIGHT_LINE Enum خط مستقیم.

روش‌ها

روش نوع بازگشتی شرح مختصر
get Link Type() Link Type Link Type برمی‌گرداند.
get Linked Slide() Slide |null در صورت وجود، Slide لینک‌شده را برای انواع لینک‌های غیر URL برمی‌گرداند.
get Slide Id() String|null شناسه Slide لینک‌شده را برمی‌گرداند یا اگر Link Type Link Type.SLIDE_ID نباشد null برمی‌گرداند.
get Slide Index() Integer|null اندیس Slide لینک‌شده را بر اساس صفر برمی‌گرداند و در صورتی که Link Type Link Type.SLIDE_INDEX نباشد، آن را null برمی‌گرداند.
get Slide Position() Slide Position |null Slide Position Slide لینک شده را برمی‌گرداند یا اگر Link Type Link Type.SLIDE_POSITION نباشد null برمی‌گرداند.
get Url() String|null آدرس اینترنتی (URL) صفحه وب خارجی را برمی‌گرداند یا اگر Link Type Link Type.URL نباشد، null برمی‌گرداند.

Link Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum نوع پیوندی که پشتیبانی نمی‌شود.
URL Enum لینکی به یک صفحه وب خارجی.
SLIDE_POSITION Enum پیوندی به یک اسلاید خاص در این ارائه، که با موقعیت آن مشخص شده است.
SLIDE_ID Enum پیوندی به یک اسلاید خاص در این ارائه، که با شناسه آن آدرس‌دهی شده است.
SLIDE_INDEX Enum پیوندی به یک اسلاید خاص در این ارائه، که توسط اندیس مبتنی بر صفر آن آدرس‌دهی شده است.

List

روش‌ها

روش نوع بازگشتی شرح مختصر
get List Id() String شناسه (ID) لیست را برمی‌گرداند.
get List Paragraphs() Paragraph[] تمام Paragraphs در لیست را برمی‌گرداند.

List Preset

خواص

ملک نوع توضیحات
DISC_CIRCLE_SQUARE Enum فهرستی با گلیف‌های «DISC»، «CIRCLE» و «SQUARE» برای سه سطح اول چیدمان فهرست.
DIAMONDX_ARROW3D_SQUARE Enum فهرستی با گلیف‌های «DIAMONDX»، «ARROW3D» و «SQUARE» برای سه سطح اول چیدمان فهرست.
CHECKBOX Enum فهرستی با گلیف‌های «چک‌باکس» برای تمام سطوح تودرتوی فهرست.
ARROW_DIAMOND_DISC Enum فهرستی با گلیف‌های «ARROW»، «DIAMOND» و «DISC» برای سه سطح اول چیدمان فهرست.
STAR_CIRCLE_SQUARE Enum فهرستی با گلیف‌های «STAR»، «CIRCLE» و «SQUARE» برای سه سطح اول چیدمان فهرست.
ARROW3D_CIRCLE_SQUARE Enum فهرستی با گلیف‌های «ARROW3D»، «CIRCLE» و «SQUARE» برای سه سطح اول چیدمان فهرست.
LEFTTRIANGLE_DIAMOND_DISC Enum فهرستی با گلیف‌های «LEFTTRIANGLE»، «DIAMOND» و «DISC» برای سه سطح اول تودرتوی فهرست.
DIAMONDX_HOLLOWDIAMOND_SQUARE Enum فهرستی با گلیف‌های «DIAMONDX»، «HOLLOWDIAMOND» و «SQUARE» برای سه سطح اول تودرتوی فهرست.
DIAMOND_CIRCLE_SQUARE Enum فهرستی با گلیف‌های «الماس»، «دایره» و «مربع» برای سه سطح اول چیدمان فهرست.
DIGIT_ALPHA_ROMAN Enum فهرستی با گلیف‌های «DIGIT»، «ALPHA» و «ROMAN» برای سه سطح اول تودرتوی فهرست، و پس از آن نقطه.
DIGIT_ALPHA_ROMAN_PARENS Enum فهرستی با گلیف‌های «DIGIT»، «ALPHA» و «ROMAN» برای سه سطح اول تودرتوی فهرست، و پس از آن پرانتز.
DIGIT_NESTED Enum فهرستی با گلیف‌های «DIGIT» که با نقطه از هم جدا شده‌اند، که در آن هر سطح تودرتو از گلیف سطح تودرتوی قبلی به عنوان پیشوند استفاده می‌کند.
UPPERALPHA_ALPHA_ROMAN Enum فهرستی با گلیف‌های «UPPERALPHA»، «ALPHA» و «ROMAN» برای سه سطح اول تودرتوی فهرست، و پس از آن نقطه.
UPPERROMAN_UPPERALPHA_DIGIT Enum فهرستی با گلیف‌های «UPPERROMAN»، «UPPERALPHA» و «DIGIT» برای سه سطح اول تودرتوی فهرست، و پس از آن نقطه.
ZERODIGIT_ALPHA_ROMAN Enum فهرستی با گلیف‌های «ZERODIGIT»، «ALPHA» و «ROMAN» برای سه سطح اول تودرتوی فهرست، و پس از آن نقطه.

List Style

روش‌ها

روش نوع بازگشتی شرح مختصر
apply List Preset(listPreset) List Style تنظیمات List Preset مشخص‌شده را روی تمام پاراگراف‌هایی که با متن همپوشانی دارند، اعمال می‌کند.
get Glyph() String|null گلیف رندر شده برای متن را برمی‌گرداند.
get List() List |null List که متن در آن قرار دارد را برمی‌گرداند، یا اگر هیچ قسمتی از متن در یک لیست نباشد، یا متن در چندین لیست باشد، null برمی‌گرداند.
get Nesting Level() Integer|null سطح تودرتوی مبتنی بر ۰ متن را برمی‌گرداند.
is In List() Boolean|null اگر متن دقیقاً در یک لیست باشد، true برمی‌گرداند، اگر هیچ قسمتی از متن در لیست نباشد، مقدار false null برمی‌گرداند، و اگر فقط قسمتی از متن در یک لیست باشد یا اگر متن در چندین لیست باشد، مقدار null را برمی‌گرداند.
remove From List() List Style پاراگراف‌هایی را که با متن از هر لیستی همپوشانی دارند، حذف می‌کند.

Master

روش‌ها

روش نوع بازگشتی شرح مختصر
get Background() Page Background پس‌زمینه صفحه را دریافت می‌کند.
get Color Scheme() Color Scheme Color Scheme مرتبط با صفحه را دریافت می‌کند.
get Groups() Group[] لیست اشیاء Group را در صفحه برمی‌گرداند.
get Images() Image[] لیست اشیاء Image موجود در صفحه را برمی‌گرداند.
get Layouts() Layout[] طرح‌بندی‌های این استاد را دریافت می‌کند.
get Lines() Line[] لیست اشیاء Line را در صفحه برمی‌گرداند.
get Object Id() String شناسه منحصر به فرد صفحه را دریافت می‌کند.
get Page Element By Id(id) Page Element |null Page Element را در صفحه با شناسه داده شده برمی‌گرداند، یا در صورت وجود نداشتن null برمی‌گرداند.
get Page Elements() Page Element[] لیستی از اشیاء Page Element که در صفحه رندر شده‌اند را برمی‌گرداند.
get Page Type() Page Type نوع صفحه را دریافت می‌کند.
get Placeholder(placeholderType) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص‌شده برمی‌گرداند یا در صورت عدم وجود جانگهدار منطبق، null برمی‌گرداند.
get Placeholder(placeholderType, placeholderIndex) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص شده و یک اندیس جانگهدار برمی‌گرداند، یا در صورت عدم وجود جانگهدار، null را برمی‌گرداند.
get Placeholders() Page Element[] لیستی از اشیاء Page Element که به عنوان placeholder در صفحه قرار دارند را برمی‌گرداند.
get Shapes() Shape[] لیست اشیاء Shape موجود در صفحه را برمی‌گرداند.
get Sheets Charts() Sheets Chart[] لیست اشیاء Sheets Chart را در صفحه برمی‌گرداند.
get Tables() Table[] لیست اشیاء Table موجود در صفحه را برمی‌گرداند.
get Videos() Video[] لیست اشیاء Video ) موجود در صفحه را برمی‌گرداند.
get Word Arts() Word Art[] لیست اشیاء Word Art موجود در صفحه را برمی‌گرداند.
group(pageElements) Group تمام عناصر صفحه مشخص شده را گروه بندی می کند.
insert Group(group) Group یک کپی از Group ارائه شده را در صفحه قرار می‌دهد.
insert Image(blobSource) Image تصویری را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض از حباب تصویر مشخص شده درج می‌کند.
insert Image(blobSource, left, top, width, height) Image تصویری را با موقعیت و اندازه‌ی مشخص‌شده از ناحیه‌ی تصویر مشخص‌شده، در صفحه درج می‌کند.
insert Image(image) Image یک کپی از Image ارائه شده را در صفحه قرار می‌دهد.
insert Image(imageUrl) Image تصویری را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض از URL ارائه شده درج می‌کند.
insert Image(imageUrl, left, top, width, height) Image تصویری را با موقعیت و اندازه‌ی مشخص شده از URL ارائه شده، در صفحه درج می‌کند.
insert Line(line) Line یک کپی از Line ارائه شده را در صفحه درج می‌کند.
insert Line(lineCategory, startConnectionSite, endConnectionSite) Line خطی را در صفحه درج می‌کند که دو connection sites به هم متصل می‌کند.
insert Line(lineCategory, startLeft, startTop, endLeft, endTop) Line یک خط در صفحه درج می‌کند.
insert Page Element(pageElement) Page Element یک کپی از Page Element ارائه شده را در صفحه درج می‌کند.
insert Shape(shape) Shape یک کپی از Shape ارائه شده را در صفحه درج می‌کند.
insert Shape(shapeType) Shape یک شکل را در صفحه درج می‌کند.
insert Shape(shapeType, left, top, width, height) Shape یک شکل را در صفحه درج می‌کند.
insert Sheets Chart(sourceChart) Sheets Chart یک نمودار Google Sheets در صفحه درج می‌کند.
insert Sheets Chart(sourceChart, left, top, width, height) Sheets Chart یک نمودار Google Sheets با موقعیت و اندازه ارائه شده در صفحه درج می‌کند.
insert Sheets Chart(sheetsChart) Sheets Chart یک کپی از Sheets Chart ارائه شده را در صفحه درج می‌کند.
insert Sheets Chart As Image(sourceChart) Image نمودار Google Sheets را به عنوان Image در صفحه درج می‌کند.
insert Sheets Chart As Image(sourceChart, left, top, width, height) Image یک نمودار Google Sheets را به عنوان Image با موقعیت و اندازه ارائه شده در صفحه درج می‌کند.
insert Table(numRows, numColumns) Table یک جدول در صفحه درج می‌کند.
insert Table(numRows, numColumns, left, top, width, height) Table یک جدول با موقعیت و اندازه‌ی مشخص‌شده در صفحه درج می‌کند.
insert Table(table) Table یک کپی از Table ارائه شده را در صفحه درج می‌کند.
insert Text Box(text) Shape یک کادر متنی Shape حاوی رشته ارائه شده در صفحه درج می‌کند.
insert Text Box(text, left, top, width, height) Shape یک کادر متنی Shape حاوی رشته ارائه شده در صفحه درج می‌کند.
insert Video(videoUrl) Video یک ویدیو را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض درج می‌کند.
insert Video(videoUrl, left, top, width, height) Video یک ویدیو را با موقعیت و اندازه‌ی مشخص شده در صفحه قرار می‌دهد.
insert Video(video) Video یک کپی از Video ارائه شده را در صفحه قرار می‌دهد.
insert Word Art(wordArt) Word Art یک کپی از Word Art ارائه شده را در صفحه قرار می‌دهد.
remove() void صفحه را حذف می‌کند.
replace All Text(findText, replaceText) Integer تمام نمونه‌های متن منطبق با find text را با replace text جایگزین می‌کند.
replace All Text(findText, replaceText, matchCase) Integer تمام نمونه‌های متن منطبق با find text را با replace text جایگزین می‌کند.
select As Current Page() void Page در ارائه فعال را به عنوان current page selection انتخاب می‌کند و هر انتخاب قبلی را حذف می‌کند.

Notes Master

روش‌ها

روش نوع بازگشتی شرح مختصر
get Groups() Group[] لیست اشیاء Group را در صفحه برمی‌گرداند.
get Images() Image[] لیست اشیاء Image موجود در صفحه را برمی‌گرداند.
get Lines() Line[] لیست اشیاء Line را در صفحه برمی‌گرداند.
get Object Id() String شناسه منحصر به فرد صفحه را دریافت می‌کند.
get Page Element By Id(id) Page Element |null Page Element را در صفحه با شناسه داده شده برمی‌گرداند، یا در صورت وجود نداشتن null برمی‌گرداند.
get Page Elements() Page Element[] لیستی از اشیاء Page Element که در صفحه رندر شده‌اند را برمی‌گرداند.
get Placeholder(placeholderType) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص‌شده برمی‌گرداند یا در صورت عدم وجود جانگهدار منطبق، null برمی‌گرداند.
get Placeholder(placeholderType, placeholderIndex) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص شده و یک اندیس جانگهدار برمی‌گرداند، یا در صورت عدم وجود جانگهدار، null را برمی‌گرداند.
get Placeholders() Page Element[] لیستی از اشیاء Page Element که به عنوان placeholder در صفحه قرار دارند را برمی‌گرداند.
get Shapes() Shape[] لیست اشیاء Shape موجود در صفحه را برمی‌گرداند.
get Sheets Charts() Sheets Chart[] لیست اشیاء Sheets Chart را در صفحه برمی‌گرداند.
get Tables() Table[] لیست اشیاء Table موجود در صفحه را برمی‌گرداند.
get Videos() Video[] لیست اشیاء Video ) موجود در صفحه را برمی‌گرداند.
get Word Arts() Word Art[] لیست اشیاء Word Art موجود در صفحه را برمی‌گرداند.

Notes Page

روش‌ها

روش نوع بازگشتی شرح مختصر
get Groups() Group[] لیست اشیاء Group را در صفحه برمی‌گرداند.
get Images() Image[] لیست اشیاء Image موجود در صفحه را برمی‌گرداند.
get Lines() Line[] لیست اشیاء Line را در صفحه برمی‌گرداند.
get Object Id() String شناسه منحصر به فرد صفحه را دریافت می‌کند.
get Page Element By Id(id) Page Element |null Page Element را در صفحه با شناسه داده شده برمی‌گرداند، یا در صورت وجود نداشتن null برمی‌گرداند.
get Page Elements() Page Element[] لیستی از اشیاء Page Element که در صفحه رندر شده‌اند را برمی‌گرداند.
get Placeholder(placeholderType) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص‌شده برمی‌گرداند یا در صورت عدم وجود جانگهدار منطبق، null برمی‌گرداند.
get Placeholder(placeholderType, placeholderIndex) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص شده و یک اندیس جانگهدار برمی‌گرداند، یا در صورت عدم وجود جانگهدار، null را برمی‌گرداند.
get Placeholders() Page Element[] لیستی از اشیاء Page Element که به عنوان placeholder در صفحه قرار دارند را برمی‌گرداند.
get Shapes() Shape[] لیست اشیاء Shape موجود در صفحه را برمی‌گرداند.
get Sheets Charts() Sheets Chart[] لیست اشیاء Sheets Chart را در صفحه برمی‌گرداند.
get Speaker Notes Shape() Shape شکلی که شامل یادداشت‌های گوینده در صفحه است را دریافت می‌کند.
get Tables() Table[] لیست اشیاء Table موجود در صفحه را برمی‌گرداند.
get Videos() Video[] لیست اشیاء Video ) موجود در صفحه را برمی‌گرداند.
get Word Arts() Word Art[] لیست اشیاء Word Art موجود در صفحه را برمی‌گرداند.
replace All Text(findText, replaceText) Integer تمام نمونه‌های متن منطبق با find text را با replace text جایگزین می‌کند.
replace All Text(findText, replaceText, matchCase) Integer تمام نمونه‌های متن منطبق با find text را با replace text جایگزین می‌کند.

Page

روش‌ها

روش نوع بازگشتی شرح مختصر
as Layout() Layout صفحه را به صورت طرح‌بندی برمی‌گرداند.
as Master() Master صفحه را به عنوان صفحه اصلی برمی‌گرداند.
as Slide() Slide صفحه را به صورت اسلاید برمی‌گرداند.
get Background() Page Background پس‌زمینه صفحه را دریافت می‌کند.
get Color Scheme() Color Scheme Color Scheme مرتبط با صفحه را دریافت می‌کند.
get Groups() Group[] لیست اشیاء Group را در صفحه برمی‌گرداند.
get Images() Image[] لیست اشیاء Image موجود در صفحه را برمی‌گرداند.
get Lines() Line[] لیست اشیاء Line را در صفحه برمی‌گرداند.
get Object Id() String شناسه منحصر به فرد صفحه را دریافت می‌کند.
get Page Element By Id(id) Page Element |null Page Element را در صفحه با شناسه داده شده برمی‌گرداند، یا در صورت وجود نداشتن null برمی‌گرداند.
get Page Elements() Page Element[] لیستی از اشیاء Page Element که در صفحه رندر شده‌اند را برمی‌گرداند.
get Page Type() Page Type نوع صفحه را دریافت می‌کند.
get Placeholder(placeholderType) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص‌شده برمی‌گرداند یا در صورت عدم وجود جانگهدار منطبق، null برمی‌گرداند.
get Placeholder(placeholderType, placeholderIndex) Page Element |null شیء Page Element جانگهدار را برای یک Placeholder Type مشخص شده و یک اندیس جانگهدار برمی‌گرداند، یا در صورت عدم وجود جانگهدار، null را برمی‌گرداند.
get Placeholders() Page Element[] لیستی از اشیاء Page Element که به عنوان placeholder در صفحه قرار دارند را برمی‌گرداند.
get Shapes() Shape[] لیست اشیاء Shape موجود در صفحه را برمی‌گرداند.
get Sheets Charts() Sheets Chart[] لیست اشیاء Sheets Chart را در صفحه برمی‌گرداند.
get Tables() Table[] لیست اشیاء Table موجود در صفحه را برمی‌گرداند.
get Videos() Video[] لیست اشیاء Video ) موجود در صفحه را برمی‌گرداند.
get Word Arts() Word Art[] لیست اشیاء Word Art موجود در صفحه را برمی‌گرداند.
group(pageElements) Group تمام عناصر صفحه مشخص شده را گروه بندی می کند.
insert Group(group) Group یک کپی از Group ارائه شده را در صفحه قرار می‌دهد.
insert Image(blobSource) Image تصویری را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض از حباب تصویر مشخص شده درج می‌کند.
insert Image(blobSource, left, top, width, height) Image تصویری را با موقعیت و اندازه‌ی مشخص‌شده از ناحیه‌ی تصویر مشخص‌شده، در صفحه درج می‌کند.
insert Image(image) Image یک کپی از Image ارائه شده را در صفحه قرار می‌دهد.
insert Image(imageUrl) Image تصویری را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض از URL ارائه شده درج می‌کند.
insert Image(imageUrl, left, top, width, height) Image تصویری را با موقعیت و اندازه‌ی مشخص شده از URL ارائه شده، در صفحه درج می‌کند.
insert Line(line) Line یک کپی از Line ارائه شده را در صفحه درج می‌کند.
insert Line(lineCategory, startConnectionSite, endConnectionSite) Line خطی را در صفحه درج می‌کند که دو connection sites به هم متصل می‌کند.
insert Line(lineCategory, startLeft, startTop, endLeft, endTop) Line یک خط در صفحه درج می‌کند.
insert Page Element(pageElement) Page Element یک کپی از Page Element ارائه شده را در صفحه درج می‌کند.
insert Shape(shape) Shape یک کپی از Shape ارائه شده را در صفحه درج می‌کند.
insert Shape(shapeType) Shape یک شکل را در صفحه درج می‌کند.
insert Shape(shapeType, left, top, width, height) Shape یک شکل را در صفحه درج می‌کند.
insert Sheets Chart(sourceChart) Sheets Chart یک نمودار Google Sheets در صفحه درج می‌کند.
insert Sheets Chart(sourceChart, left, top, width, height) Sheets Chart یک نمودار Google Sheets با موقعیت و اندازه ارائه شده در صفحه درج می‌کند.
insert Sheets Chart(sheetsChart) Sheets Chart یک کپی از Sheets Chart ارائه شده را در صفحه درج می‌کند.
insert Sheets Chart As Image(sourceChart) Image نمودار Google Sheets را به عنوان Image در صفحه درج می‌کند.
insert Sheets Chart As Image(sourceChart, left, top, width, height) Image یک نمودار Google Sheets را به عنوان Image با موقعیت و اندازه ارائه شده در صفحه درج می‌کند.
insert Table(numRows, numColumns) Table یک جدول در صفحه درج می‌کند.
insert Table(numRows, numColumns, left, top, width, height) Table یک جدول با موقعیت و اندازه‌ی مشخص‌شده در صفحه درج می‌کند.
insert Table(table) Table یک کپی از Table ارائه شده را در صفحه درج می‌کند.
insert Text Box(text) Shape یک کادر متنی Shape حاوی رشته ارائه شده در صفحه درج می‌کند.
insert Text Box(text, left, top, width, height) Shape یک کادر متنی Shape حاوی رشته ارائه شده در صفحه درج می‌کند.
insert Video(videoUrl) Video یک ویدیو را در گوشه سمت چپ بالای صفحه با اندازه پیش‌فرض درج می‌کند.
insert Video(videoUrl, left, top, width, height) Video Inserts a video on the page with the provided position and size.
insert Video(video) Video Inserts a copy of the provided Video on the page.
insert Word Art(wordArt) Word Art Inserts a copy of the provided Word Art on the page.
remove() void Removes the page.
replace All Text(findText, replaceText) Integer Replaces all instances of text matching find text with replace text.
replace All Text(findText, replaceText, matchCase) Integer Replaces all instances of text matching find text with replace text.
select As Current Page() void Selects the Page in the active presentation as the current page selection and removes any previous selection.

Page Background

روش‌ها

روش نوع بازگشتی شرح مختصر
get Picture Fill() Picture Fill |null Get the stretched picture fill of this background, or null if the background fill type is not Page Background Type.PICTURE .
get Solid Fill() Solid Fill |null Get the solid fill of this background, or null if the background fill type is not Page Background Type.SOLID .
get Type() Page Background Type Get the type of this page background.
is Visible() Boolean اینکه آیا پس‌زمینه قابل مشاهده است یا خیر.
set Picture Fill(blobSource) void Sets an image from the specified image blob as the page background.
set Picture Fill(imageUrl) void Sets the image at the provided URL as the page background.
set Solid Fill(color) void رنگ توپر (solid fill) را روی Color داده شده تنظیم می‌کند.
set Solid Fill(color, alpha) void مقدار alpha و Color داده شده را برای fill solid (پر کردن جامد) تنظیم می‌کند.
set Solid Fill(red, green, blue) void مقدار پر کردن جامد را روی مقادیر RGB داده شده تنظیم می‌کند.
set Solid Fill(red, green, blue, alpha) void مقدار پر کردن جامد را روی مقادیر آلفا و RGB داده شده تنظیم می‌کند.
set Solid Fill(hexString) void مقدار solid fill را روی رشته رنگ هگز داده شده تنظیم می‌کند.
set Solid Fill(hexString, alpha) void مقدار پر کردن (fill) را روی رشته رنگ آلفا و هگز داده شده تنظیم می‌کند.
set Solid Fill(color) void مقدار solid fill را روی Theme Color Type داده شده تنظیم می‌کند.
set Solid Fill(color, alpha) void مقدار پر کردن (fill) را روی آلفای داده شده و Theme Color Type تنظیم می‌کند.
set Transparent() void پس‌زمینه را شفاف تنظیم می‌کند.

Page Background Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A page background type that is not supported.
NONE Enum No fill, so the background is rendered white.
SOLID Enum A solid color fill.
PICTURE Enum A picture that is stretched to fill the page.

Page Element

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Page Element Aligns the element to the specified alignment position on the page.
as Group() Group Returns the page element as a group.
as Image() Image Returns the page element as an image.
as Line() Line Returns the page element as a line.
as Shape() Shape Returns the page element as a shape.
as Sheets Chart() Sheets Chart Returns the page element as a linked chart embedded from Google Sheets.
as Speaker Spotlight() Speaker Spotlight Returns the page element as a speaker spotlight.
as Table() Table Returns the page element as a table.
as Video() Video Returns the page element as a video.
as Word Art() Word Art Returns the page element as word art.
bring Forward() Page Element Brings the page element forward on the page by one element.
bring To Front() Page Element Brings the page element to the front of the page.
duplicate() Page Element Duplicates the page element.
get Connection Sites() Connection Site[] Returns the list of Connection Site s on the page element, or an empty list if the page element does not have any connection sites.
get Description() String Returns the page element's alt text description.
get Height() Number|null Gets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
get Inherent Height() Number|null Returns the element's inherent height in points.
get Inherent Width() Number|null Returns the element's inherent width in points.
get Left() Number Returns the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
get Object Id() String Returns the unique ID for this object.
get Page Element Type() Page Element Type Returns the page element's type, represented as a Page Element Type enum.
get Parent Group() Group |null Returns the group this page element belongs to, or null if the element is not in a group.
get Parent Page() Page Returns the page this page element is on.
get Rotation() Number Returns the element's clockwise rotation angle around its center in degrees, where zero degrees means no rotation.
get Title() String Returns the page element's alt text title.
get Top() Number Gets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
get Transform() Affine Transform Returns the page element's transform.
get Width() Number|null Returns the element's width in points, which is the width of the element's bounding box when the element has no rotation.
preconcatenate Transform(transform) Page Element Preconcatenates the provided transform to the existing transform of the page element.
remove() void Removes the page element.
scale Height(ratio) Page Element Scales the element's height by the specified ratio.
scale Width(ratio) Page Element Scales the element's width by the specified ratio.
select() void Selects only the Page Element in the active presentation and removes any previous selection.
select(replace) void Selects the Page Element in the active presentation.
send Backward() Page Element Sends the page element backward on the page by one element.
send To Back() Page Element Sends the page element to the back of the page.
set Description(description) Page Element Sets the page element's alt text description.
set Height(height) Page Element Sets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
set Left(left) Page Element Sets the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
set Rotation(angle) Page Element Sets the element's clockwise rotation angle around its center in degrees.
set Title(title) Page Element Sets the page element's alt text title.
set Top(top) Page Element Sets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
set Transform(transform) Page Element Sets the transform of the page element with the provided transform.
set Width(width) Page Element Sets the element's width in points, which is the width of the element's bounding box when the element has no rotation.

Page Element Range

روش‌ها

روش نوع بازگشتی شرح مختصر
get Page Elements() Page Element[] Returns the list of Page Element instances.

Page Element Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum Represents a page element that is not supported and cannot be further classified.
SHAPE Enum Represents a generic shape that does not have a more specific classification.
IMAGE Enum Represents an image.
VIDEO Enum Represents a video.
TABLE Enum Represents a table.
GROUP Enum Represents a collection of page elements joined as a single unit.
LINE Enum Represents a line.
WORD_ART Enum Represents word art.
SHEETS_CHART Enum Represents a linked chart embedded from Google Sheets.
SPEAKER_SPOTLIGHT Enum Represents a speaker spotlight.

Page Range

روش‌ها

روش نوع بازگشتی شرح مختصر
get Pages() Page[] Returns the list of Page instances.

Page Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A page type that is not supported.
SLIDE Enum A slide page.
LAYOUT Enum A layout page.
MASTER Enum A master page.

Paragraph

روش‌ها

روش نوع بازگشتی شرح مختصر
get Index() Integer|null Returns the index of the paragraph's newline.
get Range() Text Range |null Returns a Text Range spanning the text in the paragraph ended by this object's newline character.

Paragraph Alignment

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A paragraph alignment that is not supported.
START Enum The paragraph is aligned to the start of the line.
CENTER Enum The paragraph is centered.
END Enum The paragraph is aligned to the end of the line.
JUSTIFIED Enum The paragraph is justified.

Paragraph Style

روش‌ها

روش نوع بازگشتی شرح مختصر
get Indent End() Number|null Returns the text end indentation for paragraphs in the Text Range in points, or null if there are multiple paragraph styles on the given text.
get Indent First Line() Number|null Returns the indentation for the first line of paragraphs in the Text Range in points, or null if there are multiple paragraph styles on the given text.
get Indent Start() Number|null Returns the text start indentation for paragraphs in the Text Range in points, or null if there are multiple paragraph styles on the given text.
get Line Spacing() Number|null Returns the line spacing, or null if there are multiple paragraph styles on the given text.
get Paragraph Alignment() Paragraph Alignment |null Returns the Paragraph Alignment of paragraphs in the Text Range , or null if there are multiple paragraph styles on the given text.
get Space Above() Number|null Returns the extra space above paragraphs in the Text Range in points, or null if there are multiple paragraph styles on the given text.
get Space Below() Number|null Returns the extra space below paragraphs in the Text Range in points, or null if there are multiple paragraph styles on the given text.
get Spacing Mode() Spacing Mode |null Returns the Spacing Mode for paragraphs in the Text Range , or null if there are multiple paragraph styles on the given text.
get Text Direction() Text Direction |null Returns the Text Direction for paragraphs in the Text Range , or null if there are multiple paragraph styles on the given text.
set Indent End(indent) Paragraph Style Sets the text end indentation for paragraphs in the Text Range in points.
set Indent First Line(indent) Paragraph Style Sets the indentation for the first line of paragraphs in the Text Range in points.
set Indent Start(indent) Paragraph Style Sets the text start indentation for paragraphs in the Text Range in points.
set Line Spacing(spacing) Paragraph Style Sets the line spacing.
set Paragraph Alignment(alignment) Paragraph Style Sets the Paragraph Alignment of paragraphs in the Text Range .
set Space Above(space) Paragraph Style Sets the extra space above paragraphs in the Text Range in points.
set Space Below(space) Paragraph Style Sets the extra space below paragraphs in the Text Range in points.
set Spacing Mode(mode) Paragraph Style Sets the Spacing Mode for paragraphs in the Text Range .
set Text Direction(direction) Paragraph Style Sets the Text Direction for paragraphs in the Text Range .

Picture Fill

روش‌ها

روش نوع بازگشتی شرح مختصر
get As(contentType) Blob داده‌های درون این شیء را به صورت یک blob تبدیل‌شده به نوع محتوای مشخص‌شده، برمی‌گرداند.
get Blob() Blob Return the data inside this object as a converted blob.
get Content Url() String Gets a URL to the image.
get Source Url() String|null Gets the image's source URL, if available.

Placeholder Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A placeholder type that is not supported.
NONE Enum Not a Placeholder.
BODY Enum Body text.
CHART Enum Chart or graph.
CLIP_ART Enum Clip art image.
CENTERED_TITLE Enum Title centered.
DIAGRAM Enum Diagram.
DATE_AND_TIME Enum Date and time.
FOOTER Enum Footer text.
HEADER Enum Header text.
MEDIA Enum Multimedia.
OBJECT Enum Any content type.
PICTURE Enum Picture.
SLIDE_NUMBER Enum Number of a slide.
SUBTITLE Enum Subtitle.
TABLE Enum Table.
TITLE Enum Slide title.
SLIDE_IMAGE Enum Slide image.

Point

روش‌ها

روش نوع بازگشتی شرح مختصر
getX() Number Gets the horizontal coordinate, measured in points.
getY() Number Gets the vertical coordinate, measured in points.

Predefined Layout

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A layout that is not supported.
BLANK Enum Blank layout, with no placeholders.
CAPTION_ONLY Enum Layout with a caption at the bottom.
TITLE Enum Layout with a title and a subtitle.
TITLE_AND_BODY Enum Layout with a title and body.
TITLE_AND_TWO_COLUMNS Enum Layout with a title and two columns.
TITLE_ONLY Enum Layout with only a title.
SECTION_HEADER Enum Layout with a section title.
SECTION_TITLE_AND_DESCRIPTION Enum Layout with a title and subtitle on one side and description on the other.
ONE_COLUMN_TEXT Enum Layout with one title and one body, arranged in a single column.
MAIN_POINT Enum Layout with a main point.
BIG_NUMBER Enum Layout with a big number heading.

Presentation

روش‌ها

روش نوع بازگشتی شرح مختصر
add Editor(emailAddress) Presentation Adds the given user to the list of editors for the Presentation .
add Editor(user) Presentation Adds the given user to the list of editors for the Presentation .
add Editors(emailAddresses) Presentation Adds the given array of users to the list of editors for the Presentation .
add Viewer(emailAddress) Presentation Adds the given user to the list of viewers for the Presentation .
add Viewer(user) Presentation Adds the given user to the list of viewers for the Presentation .
add Viewers(emailAddresses) Presentation Adds the given array of users to the list of viewers for the Presentation .
append Slide() Slide Appends a slide to the end of the presentation using the Predefined Layout.BLANK predefined layout based on the current master.
append Slide(layout) Slide Appends a slide to the end of the presentation using the specified layout based on the current master.
append Slide(predefinedLayout) Slide Appends a slide to the end of the presentation using the specified predefined layout based on the current master.
append Slide(slide) Slide Appends a copy of the provided Slide to the end of the presentation.
append Slide(slide, linkingMode) Slide Appends a copy of the provided Slide from the source presentation to the end of the current presentation, and sets the slide link as specified by the Slide Linking Mode .
get Editors() User[] Gets the list of editors for this Presentation .
get Id() String Gets the presentation's unique identifier.
get Layouts() Layout[] Gets the layouts in the presentation.
get Masters() Master[] Gets the masters in the presentation.
get Name() String Gets the name or title of the presentation.
get Notes Master() Notes Master Gets the notes master of the presentation.
get Notes Page Height() Number Gets the page height of the notes master and notes pages in the presentation in points.
get Notes Page Width() Number Gets the page width of the notes master and notes pages in the presentation in points.
get Page Element By Id(id) Page Element |null Returns the Page Element with the given ID, or null if none exists.
get Page Height() Number Gets the page height of the slides, layouts, and masters in the presentation in points.
get Page Width() Number Gets the page width of the slides, layouts, and masters in the presentation in points.
get Selection() Selection |null Gets the user's selection in the active presentation.
get Slide By Id(id) Slide |null Returns the Slide with the given ID, or null if none exists.
get Slides() Slide[] Gets the slides in the presentation.
get Url() String Retrieves the URL to access this presentation.
get Viewers() User[] Gets the list of viewers and commenters for this Presentation .
insert Slide(insertionIndex) Slide Inserts a slide at the specified index in the presentation using the Predefined Layout.BLANK predefined layout based on the current master.
insert Slide(insertionIndex, layout) Slide Inserts a slide at the specified index in the presentation using the specified layout based on the current master.
insert Slide(insertionIndex, predefinedLayout) Slide Inserts a slide at the specified index in the presentation using the specified predefined layout based on the current master.
insert Slide(insertionIndex, slide) Slide Inserts a copy of the provided Slide at the specified index in the presentation.
insert Slide(insertionIndex, slide, linkingMode) Slide Inserts a copy of the provided Slide from the source presentation into the specified index in the current presentation, and sets the slide link as specified by the Slide Linking Mode .
remove Editor(emailAddress) Presentation Removes the given user from the list of editors for the Presentation .
remove Editor(user) Presentation Removes the given user from the list of editors for the Presentation .
remove Viewer(emailAddress) Presentation Removes the given user from the list of viewers and commenters for the Presentation .
remove Viewer(user) Presentation Removes the given user from the list of viewers and commenters for the Presentation .
replace All Text(findText, replaceText) Integer Replaces all instances of text matching find text with replace text.
replace All Text(findText, replaceText, matchCase) Integer Replaces all instances of text matching find text with replace text.
save And Close() void Saves the current Presentation .
set Name(name) void Sets the name or title of the presentation.

Selection

روش‌ها

روش نوع بازگشتی شرح مختصر
get Current Page() Page |null Returns the currently active Page or null if there is no active page.
get Page Element Range() Page Element Range |null Returns the Page Element Range collection of Page Element instances that are selected or null if there are no Page Element instances selected.
get Page Range() Page Range |null Returns the Page Range a collection of Page instances in the flimstrip that are selected or null if the selection is not of type Selection Type.PAGE .
get Selection Type() Selection Type Returns the Selection Type .
get Table Cell Range() Table Cell Range |null Returns the Table Cell Range collection of Table Cell instances that are selected or null if there are no Table Cell instances selected.
get Text Range() Text Range |null Returns the Text Range that is selected or null if the selection is not of type Selection Type.TEXT .

Selection Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A selection type that is not supported.
NONE Enum No selection.
TEXT Enum Text selection.
TABLE_CELL Enum Table cell selection.
PAGE Enum Page selection in the thumbnail flimstrip.
PAGE_ELEMENT Enum Page element selection.
CURRENT_PAGE Enum Current page selection.

Shape

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Shape Aligns the element to the specified alignment position on the page.
bring Forward() Shape Brings the page element forward on the page by one element.
bring To Front() Shape Brings the page element to the front of the page.
duplicate() Page Element Duplicates the page element.
get Autofit() Autofit |null Returns the Autofit of the text within this shape.
get Border() Border Returns the Border of the shape.
get Connection Sites() Connection Site[] Returns the list of Connection Site s on the page element, or an empty list if the page element does not have any connection sites.
get Content Alignment() Content Alignment Returns the Content Alignment of the text in the shape.
get Description() String Returns the page element's alt text description.
get Fill() Fill Returns the Fill of the shape.
get Height() Number|null Gets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
get Inherent Height() Number|null Returns the element's inherent height in points.
get Inherent Width() Number|null Returns the element's inherent width in points.
get Left() Number Returns the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
get Link() Link |null Returns the Link or null if there is no link.
get Object Id() String Returns the unique ID for this object.
get Page Element Type() Page Element Type Returns the page element's type, represented as a Page Element Type enum.
get Parent Group() Group |null Returns the group this page element belongs to, or null if the element is not in a group.
get Parent Page() Page Returns the page this page element is on.
get Parent Placeholder() Page Element |null Returns the parent page element of the placeholder.
get Placeholder Index() Integer|null Returns the placeholder index of the shape.
get Placeholder Type() Placeholder Type Returns the placeholder type of the shape, or Placeholder Type.NONE if the shape is not a placeholder.
get Rotation() Number Returns the element's clockwise rotation angle around its center in degrees, where zero degrees means no rotation.
get Shape Type() Shape Type Returns the type of the shape.
get Text() Text Range Returns the text content of the shape.
get Title() String Returns the page element's alt text title.
get Top() Number Gets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
get Transform() Affine Transform Returns the page element's transform.
get Width() Number|null Returns the element's width in points, which is the width of the element's bounding box when the element has no rotation.
preconcatenate Transform(transform) Shape Preconcatenates the provided transform to the existing transform of the page element.
remove() void Removes the page element.
remove Link() void Removes a Link .
replace With Image(blobSource) Image Replaces this shape with an image provided by a Blob Source .
replace With Image(blobSource, crop) Image Replaces this shape with an image provided by a Blob Source .
replace With Image(imageUrl) Image Replaces this shape with an image.
replace With Image(imageUrl, crop) Image Replaces this shape with an image.
replace With Sheets Chart(sourceChart) Sheets Chart Replaces this shape with a Google Sheets chart.
replace With Sheets Chart As Image(sourceChart) Image Replaces this shape with an image of a Google Sheets chart.
scale Height(ratio) Shape Scales the element's height by the specified ratio.
scale Width(ratio) Shape Scales the element's width by the specified ratio.
select() void Selects only the Page Element in the active presentation and removes any previous selection.
select(replace) void Selects the Page Element in the active presentation.
send Backward() Shape Sends the page element backward on the page by one element.
send To Back() Shape Sends the page element to the back of the page.
set Content Alignment(contentAlignment) Shape Sets the Content Alignment of the text in the shape.
set Description(description) Shape Sets the page element's alt text description.
set Height(height) Shape Sets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
set Left(left) Shape Sets the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
set Link Slide(slideIndex) Link Sets a Link to the given Slide using the zero-based index of the slide.
set Link Slide(slide) Link Sets a Link to the given Slide , the link is set by the given slide ID.
set Link Slide(slidePosition) Link Sets a Link to the given Slide using the relative position of the slide.
set Link Url(url) Link Sets a Link to the given non-empty URL string.
set Rotation(angle) Shape Sets the element's clockwise rotation angle around its center in degrees.
set Title(title) Shape Sets the page element's alt text title.
set Top(top) Shape Sets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
set Transform(transform) Shape Sets the transform of the page element with the provided transform.
set Width(width) Shape Sets the element's width in points, which is the width of the element's bounding box when the element has no rotation.

Shape Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A shape type that is not supported.
TEXT_BOX Enum Text box shape.
RECTANGLE Enum Rectangle shape.
ROUND_RECTANGLE Enum Round corner rectangle shape.
ELLIPSE Enum Ellipse shape.
ARC Enum Curved arc shape.
BENT_ARROW Enum Bent arrow shape.
BENT_UP_ARROW Enum Bent up arrow shape.
BEVEL Enum Bevel shape.
BLOCK_ARC Enum Block arc shape.
BRACE_PAIR Enum Brace pair shape.
BRACKET_PAIR Enum Bracket pair shape.
CAN Enum Can shape.
CHEVRON Enum Chevron shape.
CHORD Enum Chord shape.
CLOUD Enum Cloud shape.
CORNER Enum Corner shape.
CUBE Enum Cube shape.
CURVED_DOWN_ARROW Enum Curved down arrow shape.
CURVED_LEFT_ARROW Enum Curved left arrow shape.
CURVED_RIGHT_ARROW Enum Curved right arrow shape.
CURVED_UP_ARROW Enum Curved up arrow shape.
DECAGON Enum Decagon shape.
DIAGONAL_STRIPE Enum Diagonal stripe shape.
DIAMOND Enum Diamond shape.
DODECAGON Enum Dodecagon shape.
DONUT Enum Donut shape.
DOUBLE_WAVE Enum Double wave shape.
DOWN_ARROW Enum Down arrow shape.
DOWN_ARROW_CALLOUT Enum Callout down arrow shape.
FOLDED_CORNER Enum Folded corner shape.
FRAME Enum Frame shape.
HALF_FRAME Enum Half frame shape.
HEART Enum Heart shape.
HEPTAGON Enum Heptagon shape.
HEXAGON Enum Hexagon shape.
HOME_PLATE Enum Home plate shape.
HORIZONTAL_SCROLL Enum Horizontal scroll shape.
IRREGULAR_SEAL_1 Enum Irregular seal 1 shape.
IRREGULAR_SEAL_2 Enum Irregular seal 2 shape.
LEFT_ARROW Enum Left arrow shape.
LEFT_ARROW_CALLOUT Enum Callout left arrow shape.
LEFT_BRACE Enum Left brace shape.
LEFT_BRACKET Enum Left bracket shape.
LEFT_RIGHT_ARROW Enum Left right arrow shape.
LEFT_RIGHT_ARROW_CALLOUT Enum Callout left right arrow shape.
LEFT_RIGHT_UP_ARROW Enum Left right up arrow shape.
LEFT_UP_ARROW Enum Left up arrow shape.
LIGHTNING_BOLT Enum Lightning bolt shape.
MATH_DIVIDE Enum Divide math shape.
MATH_EQUAL Enum Equal math shape.
MATH_MINUS Enum Minus math shape.
MATH_MULTIPLY Enum Multiply math shape.
MATH_NOT_EQUAL Enum Not equal math shape.
MATH_PLUS Enum Plus math shape.
MOON Enum Moon shape.
NO_SMOKING Enum No smoking shape.
NOTCHED_RIGHT_ARROW Enum Notched right arrow shape.
OCTAGON Enum Octagon shape.
PARALLELOGRAM Enum Parallelogram shape.
PENTAGON Enum Pentagon shape.
PIE Enum Pie shape.
PLAQUE Enum Plaque shape.
PLUS Enum Plus shape.
QUAD_ARROW Enum Quad-arrow shape.
QUAD_ARROW_CALLOUT Enum Callout quad-arrow shape.
RIBBON Enum Ribbon shape.
RIBBON_2 Enum Ribbon 2 shape.
RIGHT_ARROW Enum Right arrow shape.
RIGHT_ARROW_CALLOUT Enum Callout right arrow shape.
RIGHT_BRACE Enum Right brace shape.
RIGHT_BRACKET Enum Right bracket shape.
ROUND_1_RECTANGLE Enum One round corner rectangle shape.
ROUND_2_DIAGONAL_RECTANGLE Enum Two diagonal round corner rectangle shape.
ROUND_2_SAME_RECTANGLE Enum Two same-side round corner rectangle shape.
RIGHT_TRIANGLE Enum Right triangle shape.
SMILEY_FACE Enum Smiley face shape.
SNIP_1_RECTANGLE Enum One snip corner rectangle shape.
SNIP_2_DIAGONAL_RECTANGLE Enum Two diagonal snip corner rectangle shape.
SNIP_2_SAME_RECTANGLE Enum Two same-side snip corner rectangle shape.
SNIP_ROUND_RECTANGLE Enum One snip one round corner rectangle shape.
STAR_10 Enum Ten pointed star shape.
STAR_12 Enum Twelve pointed star shape.
STAR_16 Enum Sixteen pointed star shape.
STAR_24 Enum Twenty four pointed star shape.
STAR_32 Enum Thirty two pointed star shape.
STAR_4 Enum Four pointed star shape.
STAR_5 Enum Five pointed star shape.
STAR_6 Enum Six pointed star shape.
STAR_7 Enum Seven pointed star shape.
STAR_8 Enum Eight pointed star shape.
STRIPED_RIGHT_ARROW Enum Striped right arrow shape.
SUN Enum Sun shape.
TRAPEZOID Enum Trapezoid shape.
TRIANGLE Enum Triangle shape.
UP_ARROW Enum Up arrow shape.
UP_ARROW_CALLOUT Enum Callout up arrow shape.
UP_DOWN_ARROW Enum Up down arrow shape.
UTURN_ARROW Enum U-turn arrow shape.
VERTICAL_SCROLL Enum Vertical scroll shape.
WAVE Enum Wave shape.
WEDGE_ELLIPSE_CALLOUT Enum Callout wedge ellipse shape.
WEDGE_RECTANGLE_CALLOUT Enum Callout wedge rectangle shape.
WEDGE_ROUND_RECTANGLE_CALLOUT Enum Callout wedge round rectangle shape.
FLOW_CHART_ALTERNATE_PROCESS Enum Alternate process flow shape.
FLOW_CHART_COLLATE Enum Collate flow shape.
FLOW_CHART_CONNECTOR Enum Connector flow shape.
FLOW_CHART_DECISION Enum Decision flow shape.
FLOW_CHART_DELAY Enum Delay flow shape.
FLOW_CHART_DISPLAY Enum Display flow shape.
FLOW_CHART_DOCUMENT Enum Document flow shape.
FLOW_CHART_EXTRACT Enum Extract flow shape.
FLOW_CHART_INPUT_OUTPUT Enum Input output flow shape.
FLOW_CHART_INTERNAL_STORAGE Enum Internal storage flow shape.
FLOW_CHART_MAGNETIC_DISK Enum Magnetic disk flow shape.
FLOW_CHART_MAGNETIC_DRUM Enum Magnetic drum flow shape.
FLOW_CHART_MAGNETIC_TAPE Enum Magnetic tape flow shape.
FLOW_CHART_MANUAL_INPUT Enum Manual input flow shape.
FLOW_CHART_MANUAL_OPERATION Enum Manual operation flow shape.
FLOW_CHART_MERGE Enum Merge flow shape.
FLOW_CHART_MULTIDOCUMENT Enum Multi-document flow shape.
FLOW_CHART_OFFLINE_STORAGE Enum Offline storage flow shape.
FLOW_CHART_OFFPAGE_CONNECTOR Enum Off-page connector flow shape.
FLOW_CHART_ONLINE_STORAGE Enum Online storage flow shape.
FLOW_CHART_OR Enum Or flow shape.
FLOW_CHART_PREDEFINED_PROCESS Enum Predefined process flow shape.
FLOW_CHART_PREPARATION Enum Preparation flow shape.
FLOW_CHART_PROCESS Enum Process flow shape.
FLOW_CHART_PUNCHED_CARD Enum Punched card flow shape.
FLOW_CHART_PUNCHED_TAPE Enum Punched tape flow shape.
FLOW_CHART_SORT Enum Sort flow shape.
FLOW_CHART_SUMMING_JUNCTION Enum Summing junction flow shape.
FLOW_CHART_TERMINATOR Enum Terminator flow shape.
ARROW_EAST Enum East arrow shape.
ARROW_NORTH_EAST Enum Northeast arrow shape.
ARROW_NORTH Enum North arrow shape.
SPEECH Enum Speech shape.
STARBURST Enum Star burst shape.
TEARDROP Enum Teardrop shape.
ELLIPSE_RIBBON Enum Ellipse ribbon shape.
ELLIPSE_RIBBON_2 Enum Ellipse ribbon 2 shape.
CLOUD_CALLOUT Enum Callout cloud shape.
CUSTOM Enum Custom shape.

Sheets Chart

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Sheets Chart Aligns the element to the specified alignment position on the page.
as Image() Image |null Returns the chart as an image or null if the chart is not an embedded image.
bring Forward() Sheets Chart Brings the page element forward on the page by one element.
bring To Front() Sheets Chart Brings the page element to the front of the page.
duplicate() Page Element Duplicates the page element.
get Chart Id() Integer Gets the ID of the specific chart in the Google Sheets spreadsheet that is embedded.
get Connection Sites() Connection Site[] Returns the list of Connection Site s on the page element, or an empty list if the page element does not have any connection sites.
get Description() String Returns the page element's alt text description.
get Embed Type() Sheets Chart Embed Type Returns the embed type of the Sheets chart.
get Height() Number|null Gets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
get Inherent Height() Number|null Returns the element's inherent height in points.
get Inherent Width() Number|null Returns the element's inherent width in points.
get Left() Number Returns the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
get Link() Link |null Returns the Link or null if there is no link.
get Object Id() String Returns the unique ID for this object.
get Page Element Type() Page Element Type Returns the page element's type, represented as a Page Element Type enum.
get Parent Group() Group |null Returns the group this page element belongs to, or null if the element is not in a group.
get Parent Page() Page Returns the page this page element is on.
get Rotation() Number Returns the element's clockwise rotation angle around its center in degrees, where zero degrees means no rotation.
get Spreadsheet Id() String Gets the ID of the Google Sheets spreadsheet that contains the source chart.
get Title() String Returns the page element's alt text title.
get Top() Number Gets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
get Transform() Affine Transform Returns the page element's transform.
get Width() Number|null Returns the element's width in points, which is the width of the element's bounding box when the element has no rotation.
preconcatenate Transform(transform) Sheets Chart Preconcatenates the provided transform to the existing transform of the page element.
refresh() void Refreshes the chart by replacing it with the latest version of the chart from Google Sheets.
remove() void Removes the page element.
remove Link() void Removes a Link .
scale Height(ratio) Sheets Chart Scales the element's height by the specified ratio.
scale Width(ratio) Sheets Chart Scales the element's width by the specified ratio.
select() void Selects only the Page Element in the active presentation and removes any previous selection.
select(replace) void Selects the Page Element in the active presentation.
send Backward() Sheets Chart Sends the page element backward on the page by one element.
send To Back() Sheets Chart Sends the page element to the back of the page.
set Description(description) Sheets Chart Sets the page element's alt text description.
set Height(height) Sheets Chart Sets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
set Left(left) Sheets Chart Sets the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
set Link Slide(slideIndex) Link Sets a Link to the given Slide using the zero-based index of the slide.
set Link Slide(slide) Link Sets a Link to the given Slide , the link is set by the given slide ID.
set Link Slide(slidePosition) Link Sets a Link to the given Slide using the relative position of the slide.
set Link Url(url) Link Sets a Link to the given non-empty URL string.
set Rotation(angle) Sheets Chart Sets the element's clockwise rotation angle around its center in degrees.
set Title(title) Sheets Chart Sets the page element's alt text title.
set Top(top) Sheets Chart Sets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
set Transform(transform) Sheets Chart Sets the transform of the page element with the provided transform.
set Width(width) Sheets Chart Sets the element's width in points, which is the width of the element's bounding box when the element has no rotation.

Sheets Chart Embed Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum Represents a chart that is not supported and cannot be further classified.
IMAGE Enum Indicates that the chart is embedded as an image.

Slide

روش‌ها

روش نوع بازگشتی شرح مختصر
duplicate() Slide Duplicates the slide.
get Background() Page Background Gets the page's background.
get Color Scheme() Color Scheme Gets the Color Scheme associated with the page.
get Groups() Group[] Returns the list of Group objects on the page.
get Images() Image[] Returns the list of Image objects on the page.
get Layout() Layout |null Gets the layout that the slide is based on or null if the slide is not based on a layout.
get Lines() Line[] Returns the list of Line objects on the page.
get Notes Page() Notes Page Returns the notes page associated with the slide.
get Object Id() String Gets the unique ID for the page.
get Page Element By Id(id) Page Element |null Returns the Page Element on the page with the given ID, or null if none exists.
get Page Elements() Page Element[] Returns the list of Page Element objects rendered on the page.
get Page Type() Page Type Gets the type of the page.
get Placeholder(placeholderType) Page Element |null Returns the placeholder Page Element object for a specified Placeholder Type or null if a matching placeholder is not present.
get Placeholder(placeholderType, placeholderIndex) Page Element |null Returns the placeholder Page Element object for a specified Placeholder Type and a placeholder index, or null if the placeholder is not present.
get Placeholders() Page Element[] Returns the list of placeholder Page Element objects in the page.
get Shapes() Shape[] Returns the list of Shape objects on the page.
get Sheets Charts() Sheets Chart[] Returns the list of Sheets Chart objects on the page.
get Slide Linking Mode() Slide Linking Mode Returns a Slide Linking Mode indicating if the slide is linked to another slide.
get Source Presentation Id() String Returns the source Presentation ID or null if the slide is not linked.
get Source Slide Object Id() String Returns the source slide ID or null if the slide is not linked.
get Tables() Table[] Returns the list of Table objects on the page.
get Videos() Video[] Returns the list of Video objects on the page.
get Word Arts() Word Art[] Returns the list of Word Art objects on the page.
group(pageElements) Group Groups all the specified page elements.
insert Group(group) Group Inserts a copy of the provided Group on the page.
insert Image(blobSource) Image Inserts an image at the top left corner of the page with a default size from the specified image blob.
insert Image(blobSource, left, top, width, height) Image Inserts an image on the page with the provided position and size from the specified image blob.
insert Image(image) Image Inserts a copy of the provided Image on the page.
insert Image(imageUrl) Image Inserts an image at the top left corner of the page with a default size from the provided URL.
insert Image(imageUrl, left, top, width, height) Image Inserts an image on the page with the provided position and size from the provided URL.
insert Line(line) Line Inserts a copy of the provided Line on the page.
insert Line(lineCategory, startConnectionSite, endConnectionSite) Line Inserts a line on the page connecting two connection sites .
insert Line(lineCategory, startLeft, startTop, endLeft, endTop) Line Inserts a line on the page.
insert Page Element(pageElement) Page Element Inserts a copy of the provided Page Element on the page.
insert Shape(shape) Shape Inserts a copy of the provided Shape on the page.
insert Shape(shapeType) Shape Inserts a shape on the page.
insert Shape(shapeType, left, top, width, height) Shape Inserts a shape on the page.
insert Sheets Chart(sourceChart) Sheets Chart Inserts a Google Sheets chart on the page.
insert Sheets Chart(sourceChart, left, top, width, height) Sheets Chart Inserts a Google Sheets chart on the page with the provided position and size.
insert Sheets Chart(sheetsChart) Sheets Chart Inserts a copy of the provided Sheets Chart on the page.
insert Sheets Chart As Image(sourceChart) Image Inserts a Google Sheets chart as an Image on the page.
insert Sheets Chart As Image(sourceChart, left, top, width, height) Image Inserts a Google Sheets chart as an Image on the page with the provided position and size.
insert Table(numRows, numColumns) Table Inserts a table on the page.
insert Table(numRows, numColumns, left, top, width, height) Table Inserts a table on the page with the provided position and size.
insert Table(table) Table Inserts a copy of the provided Table on the page.
insert Text Box(text) Shape Inserts a text box Shape containing the provided string on the page.
insert Text Box(text, left, top, width, height) Shape Inserts a text box Shape containing the provided string on the page.
insert Video(videoUrl) Video Inserts a video at the top left corner of the page with a default size.
insert Video(videoUrl, left, top, width, height) Video Inserts a video on the page with the provided position and size.
insert Video(video) Video Inserts a copy of the provided Video on the page.
insert Word Art(wordArt) Word Art Inserts a copy of the provided Word Art on the page.
is Skipped() Boolean Returns whether the slide is skipped in the presentation mode.
move(index) void Move the slide to the specified index.
refresh Slide() void Refreshes the slide to reflect any changes made to the linked source slide.
remove() void Removes the page.
replace All Text(findText, replaceText) Integer Replaces all instances of text matching find text with replace text.
replace All Text(findText, replaceText, matchCase) Integer Replaces all instances of text matching find text with replace text.
select As Current Page() void Selects the Page in the active presentation as the current page selection and removes any previous selection.
set Skipped(isSkipped) void Sets whether the slide is skipped in the presentation mode.
unlink() void Unlinks the current Slide from its source slide.

Slide Linking Mode

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A slide linking mode that isn't supported.
LINKED Enum Indicates that slides are linked.
NOT_LINKED Enum Indicates that slides aren't linked.

Slide Position

خواص

ملک نوع توضیحات
NEXT_SLIDE Enum The next slide.
PREVIOUS_SLIDE Enum The previous slide.
FIRST_SLIDE Enum The first slide in the presentation.
LAST_SLIDE Enum The last slide in the presentation.

Slides App

خواص

ملک نوع توضیحات
Alignment Position Alignment Position An enumeration of the types of alignment positions.
Arrow Style Arrow Style An enumeration of the different arrow styles that a Line can have.
Auto Text Type Auto Text Type An enumeration of the types of auto text.
Autofit Type Autofit Type An enumeration of autofit types.
Cell Merge State Cell Merge State An enumeration of the different merge states of a table cell.
Color Type Color Type An enumeration of color types.
Content Alignment Content Alignment An enumeration of values used to specify content alignment.
Dash Style Dash Style An enumeration of the different dash styles that a Line can have.
Fill Type Fill Type An enumeration of fill types.
Line Category Line Category An enumeration of the categories of Line .
Line Fill Type Line Fill Type An enumeration of the types of Line Fill .
Line Type Line Type An enumeration of the types of Line .
Link Type Link Type An enumeration of the types of links.
List Preset List Preset An enumeration of the types of list presets.
Page Background Type Page Background Type An enumeration of the types of page backgrounds.
Page Element Type Page Element Type An enumeration of the types of page elements.
Page Type Page Type An enumeration of the types of pages.
Paragraph Alignment Paragraph Alignment An enumeration of the types of paragraph alignment.
Placeholder Type Placeholder Type An enumeration of the types of placeholders.
Predefined Layout Predefined Layout An enumeration of the predefined layouts.
Selection Type Selection Type An enumeration of the types of selections.
Shape Type Shape Type An enumeration of the types of shapes.
Sheets Chart Embed Type Sheets Chart Embed Type An enumeration of Sheets chart embed types.
Slide Linking Mode Slide Linking Mode An enumeration of the ways Slides can be linked.
Slide Position Slide Position An enumeration of the types of slide positions.
Spacing Mode Spacing Mode An enumeration of the types of spacing modes.
Text Baseline Offset Text Baseline Offset An enumeration of the types of text baseline offset.
Text Direction Text Direction An enumeration of the types of text directions.
Theme Color Type Theme Color Type An enumeration of theme colors.
Video Source Type Video Source Type An enumeration of the types of video source.

روش‌ها

روش نوع بازگشتی شرح مختصر
create(name) Presentation Creates and opens a new Presentation .
get Active Presentation() Presentation |null Returns the currently active presentation to which the script is container-bound , or null if there is no active presentation.
get Ui() Ui Returns an instance of the presentation's user-interface environment that allows the script to add features like menus, dialogs, and sidebars.
new Affine Transform Builder() Affine Transform Builder Returns a new Affine Transform Builder to build an Affine Transform .
open By Id(id) Presentation Opens the Presentation with the given ID.
open By Url(url) Presentation Opens the Presentation with the given URL.

Solid Fill

روش‌ها

روش نوع بازگشتی شرح مختصر
get Alpha() Number Get the opacity of the color, in the interval from [0, 1.0], where 1.0 means fully opaque.
get Color() Color Get the color of the fill.

Spacing Mode

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A spacing mode that is not supported.
NEVER_COLLAPSE Enum Paragraph spacing is always rendered.
COLLAPSE_LISTS Enum Paragraph spacing is skipped between list elements.

Speaker Spotlight

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Speaker Spotlight Aligns the element to the specified alignment position on the page.
bring Forward() Speaker Spotlight Brings the page element forward on the page by one element.
bring To Front() Speaker Spotlight Brings the page element to the front of the page.
duplicate() Page Element Duplicates the page element.
get Border() Border Returns the Border of the speaker spotlight.
get Connection Sites() Connection Site[] Returns the list of Connection Site s on the page element, or an empty list if the page element does not have any connection sites.
get Description() String Returns the page element's alt text description.
get Height() Number|null Gets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
get Inherent Height() Number|null Returns the element's inherent height in points.
get Inherent Width() Number|null Returns the element's inherent width in points.
get Left() Number Returns the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
get Mask Shape Type() Shape Type |null Returns the Shape Type of the mask applied to the speaker spotlight, or null if there is no mask.
get Object Id() String Returns the unique ID for this object.
get Page Element Type() Page Element Type Returns the page element's type, represented as a Page Element Type enum.
get Parent Group() Group |null Returns the group this page element belongs to, or null if the element is not in a group.
get Parent Page() Page Returns the page this page element is on.
get Rotation() Number Returns the element's clockwise rotation angle around its center in degrees, where zero degrees means no rotation.
get Title() String Returns the page element's alt text title.
get Top() Number Gets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
get Transform() Affine Transform Returns the page element's transform.
get Width() Number|null Returns the element's width in points, which is the width of the element's bounding box when the element has no rotation.
preconcatenate Transform(transform) Speaker Spotlight Preconcatenates the provided transform to the existing transform of the page element.
remove() void Removes the page element.
scale Height(ratio) Speaker Spotlight Scales the element's height by the specified ratio.
scale Width(ratio) Speaker Spotlight Scales the element's width by the specified ratio.
select() void Selects only the Page Element in the active presentation and removes any previous selection.
select(replace) void Selects the Page Element in the active presentation.
send Backward() Speaker Spotlight Sends the page element backward on the page by one element.
send To Back() Speaker Spotlight Sends the page element to the back of the page.
set Description(description) Speaker Spotlight Sets the page element's alt text description.
set Height(height) Speaker Spotlight Sets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
set Left(left) Speaker Spotlight Sets the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
set Rotation(angle) Speaker Spotlight Sets the element's clockwise rotation angle around its center in degrees.
set Title(title) Speaker Spotlight Sets the page element's alt text title.
set Top(top) Speaker Spotlight Sets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
set Transform(transform) Speaker Spotlight Sets the transform of the page element with the provided transform.
set Width(width) Speaker Spotlight Sets the element's width in points, which is the width of the element's bounding box when the element has no rotation.

Table

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Table Aligns the element to the specified alignment position on the page.
append Column() Table Column Appends a new column to the right of the last column of the table.
append Row() Table Row Appends a new row below the last row of the table.
bring Forward() Table Brings the page element forward on the page by one element.
bring To Front() Table Brings the page element to the front of the page.
duplicate() Page Element Duplicates the page element.
get Cell(rowIndex, columnIndex) Table Cell Returns the specified cell in the table.
get Column(columnIndex) Table Column Returns the specified column in the table.
get Connection Sites() Connection Site[] Returns the list of Connection Site s on the page element, or an empty list if the page element does not have any connection sites.
get Description() String Returns the page element's alt text description.
get Height() Number|null Gets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
get Inherent Height() Number|null Returns the element's inherent height in points.
get Inherent Width() Number|null Returns the element's inherent width in points.
get Left() Number Returns the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
get Num Columns() Integer Returns the number of columns in the table.
get Num Rows() Integer Returns the number of rows in the table.
get Object Id() String Returns the unique ID for this object.
get Page Element Type() Page Element Type Returns the page element's type, represented as a Page Element Type enum.
get Parent Group() Group |null Returns the group this page element belongs to, or null if the element is not in a group.
get Parent Page() Page Returns the page this page element is on.
get Rotation() Number Returns the element's clockwise rotation angle around its center in degrees, where zero degrees means no rotation.
get Row(rowIndex) Table Row Returns the specified row in the table.
get Title() String Returns the page element's alt text title.
get Top() Number Gets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
get Transform() Affine Transform Returns the page element's transform.
get Width() Number|null Returns the element's width in points, which is the width of the element's bounding box when the element has no rotation.
insert Column(index) Table Column Inserts a new column at the specified index of the table.
insert Row(index) Table Row Inserts a new row at the specified index of the table.
preconcatenate Transform(transform) Table Preconcatenates the provided transform to the existing transform of the page element.
remove() void Removes the page element.
scale Height(ratio) Table Scales the element's height by the specified ratio.
scale Width(ratio) Table Scales the element's width by the specified ratio.
select() void Selects only the Page Element in the active presentation and removes any previous selection.
select(replace) void Selects the Page Element in the active presentation.
send Backward() Table Sends the page element backward on the page by one element.
send To Back() Table Sends the page element to the back of the page.
set Description(description) Table Sets the page element's alt text description.
set Height(height) Table Sets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
set Left(left) Table Sets the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
set Rotation(angle) Table Sets the element's clockwise rotation angle around its center in degrees.
set Title(title) Table Sets the page element's alt text title.
set Top(top) Table Sets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
set Transform(transform) Table Sets the transform of the page element with the provided transform.
set Width(width) Table Sets the element's width in points, which is the width of the element's bounding box when the element has no rotation.

Table Cell

روش‌ها

روش نوع بازگشتی شرح مختصر
get Column Index() Integer Returns the 0-based column index of the table cell.
get Column Span() Integer Returns the column span of the table cell.
get Content Alignment() Content Alignment Returns the Content Alignment of the text in the table cell.
get Fill() Fill Returns the fill of the table cell.
get Head Cell() Table Cell |null Returns the head cell of this table cell.
get Merge State() Cell Merge State Returns the merge state of the table cell.
get Parent Column() Table Column Returns the table column containing the current cell.
get Parent Row() Table Row Returns the table row containing the current cell.
get Parent Table() Table Returns the table containing the current cell.
get Row Index() Integer Returns the 0-based row index of the table cell.
get Row Span() Integer Returns the row span of the table cell.
get Text() Text Range Returns the text content of the table cell.
set Content Alignment(contentAlignment) Table Cell Sets the Content Alignment of the text in the table cell.

Table Cell Range

روش‌ها

روش نوع بازگشتی شرح مختصر
get Table Cells() Table Cell[] Returns the list of Table Cell instances.

Table Column

روش‌ها

روش نوع بازگشتی شرح مختصر
get Cell(cellIndex) Table Cell Returns the cell at the specified index.
get Index() Integer Returns the 0-based index of the column.
get Num Cells() Integer Returns the number of cells in this column.
get Parent Table() Table Returns the table containing the current column.
get Width() Number Returns the width of the column in points.
remove() void Removes the table column.

Table Row

روش‌ها

روش نوع بازگشتی شرح مختصر
get Cell(cellIndex) Table Cell Returns the cell at the specified index.
get Index() Integer Returns the 0-based index of the row.
get Minimum Height() Number Returns the minimum height of the row in points.
get Num Cells() Integer Returns the number of cells in this row.
get Parent Table() Table Returns the table containing the current row.
remove() void Removes the table row.

Text Baseline Offset

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A text baseline offset that is not supported.
NONE Enum The text is not vertically offset.
SUPERSCRIPT Enum The text is vertically offset upwards.
SUBSCRIPT Enum The text is vertically offset downwards.

Text Direction

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A text direction that is not supported.
LEFT_TO_RIGHT Enum The text goes from left to right.
RIGHT_TO_LEFT Enum The text goes from right to left.

Text Range

روش‌ها

روش نوع بازگشتی شرح مختصر
append Paragraph(text) Paragraph Appends a paragraph at the end of the text range.
append Range(textRange) Text Range Appends a copy of the provided text range to the end of the current text range.
append Range(textRange, matchSourceFormatting) Text Range Appends a copy of the provided text range to the end of the current text range.
append Text(text) Text Range Appends text at the end of the text range.
as Rendered String() String Returns the rendered text bounded by this range of the associated shape or table cell in a format appropriate to display to end users.
as String() String Returns the raw text bounded by this range of the associated shape or table cell.
clear() void Clears the text bounded by this range.
clear(startOffset, endOffset) void Clears the text bounded by the start and end offsets in the range.
find(pattern) Text Range[] Returns all the ranges matching the search pattern in the current text range.
find(pattern, startOffset) Text Range[] Returns all the ranges matching the search pattern in the current text range starting from the start offset.
get Auto Texts() Auto Text[] Returns the auto texts within the current text range.
get End Index() Integer Returns the exclusive, 0-based index for the last character in this range.
get Length() Integer Returns the number of characters in this range.
get Links() Text Range[] Returns a collection of text ranges that correspond to all Link s within the current text range or overlapping the current text range.
get List Paragraphs() Paragraph[] Returns the paragraphs in lists that overlap the current text range.
get List Style() List Style Returns the List Style of the current text range.
get Paragraph Style() Paragraph Style Returns the Paragraph Style of the current text range.
get Paragraphs() Paragraph[] Returns the paragraphs that overlap the current text range.
get Range(startOffset, endOffset) Text Range Returns a new Text Range covering part of the range from which it is derived.
get Runs() Text Range[] Returns the text runs that overlap the current text range.
get Start Index() Integer Returns the inclusive, 0-based index for the first character in this range.
get Text Style() Text Style |null Returns the text style of the range, or null if the range is empty.
insert Paragraph(startOffset, text) Paragraph Inserts a paragraph at the start offset.
insert Range(startOffset, textRange) Text Range Inserts a copy of the provided text range at the start offset.
insert Range(startOffset, textRange, matchSourceFormatting) Text Range Inserts a copy of the provided text range at the start offset.
insert Text(startOffset, text) Text Range Inserts text at the start offset.
is Empty() Boolean Returns true if there are no characters in this range, and returns false otherwise.
replace All Text(findText, replaceText) Integer Replaces all instances of text matching find text with replace text.
replace All Text(findText, replaceText, matchCase) Integer Replaces all instances of text matching find text with replace text.
select() void Selects only the Text Range in the active presentation and removes any previous selection.
set Text(newText) Text Range Sets the text bounded by this range of the associated shape or table cell.

Text Style

روش‌ها

روش نوع بازگشتی شرح مختصر
get Background Color() Color |null Returns the background color of the text, or null if there are multiple styles on the text.
get Baseline Offset() Text Baseline Offset |null Returns the vertical offset of text from its normal position, or null if there are multiple styles on the text.
get Font Family() String|null Returns the font family of the text, or null if there are multiple styles on the text.
get Font Size() Number|null Returns the font size of the text in points, or null if there are multiple styles on the text.
get Font Weight() Integer|null Returns the font weight of the text, or null if there are multiple styles on the text.
get Foreground Color() Color |null Returns the foreground color of the text, or null if there are multiple styles on the text.
get Link() Link |null Returns the Link on the text, or null if there is no link or if the link is on part of the text or if there are multiple links.
has Link() Boolean|null Returns true if there is link on the text, false if not, or null if the link is on part of the text or there are multiple links.
is Background Transparent() Boolean|null Returns true if the background of the text is transparent, false if not, or null if there are multiple styles on the text.
is Bold() Boolean|null Returns true if the text is rendered as bold, false if not, or null if there are multiple styles on the text.
is Italic() Boolean|null Returns true if the text is italicized, false if not, or null if there are multiple styles on the text.
is Small Caps() Boolean|null Returns true if the text is in small capital letters, false if not, or null if there are multiple styles on the text.
is Strikethrough() Boolean|null Returns true if the text is struck through, false if not, or null if there are multiple styles on the text.
is Underline() Boolean|null Returns true if the text is underlined, false if not, or null if there are multiple styles on the text.
remove Link() Text Style Removes a Link .
set Background Color(color) Text Style Sets the background color of the text.
set Background Color(red, green, blue) Text Style Sets the background color of the text to the given RGB values from 0 to 255.
set Background Color(hexColor) Text Style Sets the background color of the text to the given hex color string.
set Background Color(color) Text Style Sets the background color of the text to the given Theme Color Type .
set Background Color Transparent() Text Style Sets the background color of the text to transparent.
set Baseline Offset(offset) Text Style Sets the vertical offset of the text relative to its normal position.
set Bold(bold) Text Style Sets whether the text should be rendered as bold.
set Font Family(fontFamily) Text Style Sets the font family of the text .
set Font Family And Weight(fontFamily, fontWeight) Text Style Sets the font family and weight of the text.
set Font Size(fontSize) Text Style Sets the font size of the text, in points.
set Foreground Color(foregroundColor) Text Style Sets the foreground color of the text.
set Foreground Color(red, green, blue) Text Style Sets the foreground color of the text to the given RGB values from 0 to 255.
set Foreground Color(hexColor) Text Style Sets the foreground color of the text to the given hex color string.
set Foreground Color(color) Text Style Sets the foreground color of the text to the given Theme Color Type .
set Italic(italic) Text Style Sets the whether the text is italicized.
set Link Slide(slideIndex) Text Style Sets a Link to the given Slide using the zero-based index of the slide.
set Link Slide(slide) Text Style Sets a Link to the given Slide , the link is set by the given slide ID.
set Link Slide(slidePosition) Text Style Sets a Link to the given Slide using the relative position of the slide.
set Link Url(url) Text Style Sets a Link to the given non-empty URL string.
set Small Caps(smallCaps) Text Style Sets whether the text is rendered in small capital letters.
set Strikethrough(strikethrough) Text Style Sets whether the text is struck through.
set Underline(underline) Text Style Sets whether the text is underlined.

Theme Color

روش‌ها

روش نوع بازگشتی شرح مختصر
get Color Type() Color Type Get the type of this color.
get Theme Color Type() Theme Color Type Get the theme color type of this color.

Theme Color Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum Represents a theme color that is not supported.
DARK1 Enum Represents the first dark color.
LIGHT1 Enum Represents the first light color.
DARK2 Enum Represents the second dark color.
LIGHT2 Enum Represents the second light color.
ACCENT1 Enum Represents the first accent color.
ACCENT2 Enum Represents the second accent color.
ACCENT3 Enum Represents the third accent color.
ACCENT4 Enum Represents the fourth accent color.
ACCENT5 Enum Represents the fifth accent color.
ACCENT6 Enum Represents the sixth accent color.
HYPERLINK Enum Represents the color to use for hyperlinks.
FOLLOWED_HYPERLINK Enum Represents the color to use for visited hyperlinks.

Video

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Video Aligns the element to the specified alignment position on the page.
bring Forward() Video Brings the page element forward on the page by one element.
bring To Front() Video Brings the page element to the front of the page.
duplicate() Page Element Duplicates the page element.
get Border() Border Returns the Border of the video.
get Connection Sites() Connection Site[] Returns the list of Connection Site s on the page element, or an empty list if the page element does not have any connection sites.
get Description() String Returns the page element's alt text description.
get Height() Number|null Gets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
get Inherent Height() Number|null Returns the element's inherent height in points.
get Inherent Width() Number|null Returns the element's inherent width in points.
get Left() Number Returns the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
get Object Id() String Returns the unique ID for this object.
get Page Element Type() Page Element Type Returns the page element's type, represented as a Page Element Type enum.
get Parent Group() Group |null Returns the group this page element belongs to, or null if the element is not in a group.
get Parent Page() Page Returns the page this page element is on.
get Rotation() Number Returns the element's clockwise rotation angle around its center in degrees, where zero degrees means no rotation.
get Source() Video Source Type Gets the video source.
get Thumbnail Url() String Gets an URL to the video thumbnail.
get Title() String Returns the page element's alt text title.
get Top() Number Gets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
get Transform() Affine Transform Returns the page element's transform.
get Url() String|null Gets an URL to the video.
get Video Id() String Gets the video source's unique identifier for this video.
get Width() Number|null Returns the element's width in points, which is the width of the element's bounding box when the element has no rotation.
preconcatenate Transform(transform) Video Preconcatenates the provided transform to the existing transform of the page element.
remove() void Removes the page element.
scale Height(ratio) Video Scales the element's height by the specified ratio.
scale Width(ratio) Video Scales the element's width by the specified ratio.
select() void Selects only the Page Element in the active presentation and removes any previous selection.
select(replace) void Selects the Page Element in the active presentation.
send Backward() Video Sends the page element backward on the page by one element.
send To Back() Video Sends the page element to the back of the page.
set Description(description) Video Sets the page element's alt text description.
set Height(height) Video Sets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
set Left(left) Video Sets the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
set Rotation(angle) Video Sets the element's clockwise rotation angle around its center in degrees.
set Title(title) Video Sets the page element's alt text title.
set Top(top) Video Sets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
set Transform(transform) Video Sets the transform of the page element with the provided transform.
set Width(width) Video Sets the element's width in points, which is the width of the element's bounding box when the element has no rotation.

Video Source Type

خواص

ملک نوع توضیحات
UNSUPPORTED Enum A video source type that is not supported.
YOUTUBE Enum You Tube video.

Word Art

روش‌ها

روش نوع بازگشتی شرح مختصر
align On Page(alignmentPosition) Word Art Aligns the element to the specified alignment position on the page.
bring Forward() Word Art Brings the page element forward on the page by one element.
bring To Front() Word Art Brings the page element to the front of the page.
duplicate() Page Element Duplicates the page element.
get Connection Sites() Connection Site[] Returns the list of Connection Site s on the page element, or an empty list if the page element does not have any connection sites.
get Description() String Returns the page element's alt text description.
get Height() Number|null Gets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
get Inherent Height() Number|null Returns the element's inherent height in points.
get Inherent Width() Number|null Returns the element's inherent width in points.
get Left() Number Returns the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
get Link() Link |null Returns the Link or null if there is no link.
get Object Id() String Returns the unique ID for this object.
get Page Element Type() Page Element Type Returns the page element's type, represented as a Page Element Type enum.
get Parent Group() Group |null Returns the group this page element belongs to, or null if the element is not in a group.
get Parent Page() Page Returns the page this page element is on.
get Rendered Text() String Gets the text that is rendered as word art.
get Rotation() Number Returns the element's clockwise rotation angle around its center in degrees, where zero degrees means no rotation.
get Title() String Returns the page element's alt text title.
get Top() Number Gets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
get Transform() Affine Transform Returns the page element's transform.
get Width() Number|null Returns the element's width in points, which is the width of the element's bounding box when the element has no rotation.
preconcatenate Transform(transform) Word Art Preconcatenates the provided transform to the existing transform of the page element.
remove() void Removes the page element.
remove Link() void Removes a Link .
scale Height(ratio) Word Art Scales the element's height by the specified ratio.
scale Width(ratio) Word Art Scales the element's width by the specified ratio.
select() void Selects only the Page Element in the active presentation and removes any previous selection.
select(replace) void Selects the Page Element in the active presentation.
send Backward() Word Art Sends the page element backward on the page by one element.
send To Back() Word Art Sends the page element to the back of the page.
set Description(description) Word Art Sets the page element's alt text description.
set Height(height) Word Art Sets the element's height in points, which is the height of the element's bounding box when the element has no rotation.
set Left(left) Word Art Sets the element's horizontal position in points, measured from the upper-left corner of the page when the element has no rotation.
set Link Slide(slideIndex) Link Sets a Link to the given Slide using the zero-based index of the slide.
set Link Slide(slide) Link Sets a Link to the given Slide , the link is set by the given slide ID.
set Link Slide(slidePosition) Link Sets a Link to the given Slide using the relative position of the slide.
set Link Url(url) Link Sets a Link to the given non-empty URL string.
set Rotation(angle) Word Art Sets the element's clockwise rotation angle around its center in degrees.
set Title(title) Word Art Sets the page element's alt text title.
set Top(top) Word Art Sets the element's vertical position in points, measured from the upper-left corner of the page when the element has no rotation.
set Transform(transform) Word Art Sets the transform of the page element with the provided transform.
set Width(width) Word Art Sets the element's width in points, which is the width of the element's bounding box when the element has no rotation.