Enum CopyPasteType
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نوع کپی پیست شمارشی از انواع خمیر مخصوص ممکن.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. به عنوان مثال، SpreadsheetApp.CopyPasteType.PASTE_NORMAL
.
خواص
اموال | تایپ کنید | توضیحات |
---|
PASTE_NORMAL | Enum | مقادیر، فرمولها، قالبها و ادغامها را جایگذاری کنید. |
PASTE_NO_BORDERS | Enum | مقادیر، فرمولها، فرمتها و ادغامها را بچسبانید اما بدون حاشیه. |
PASTE_FORMAT | Enum | فقط قالب را جایگذاری کنید. |
PASTE_FORMULA | Enum | فقط فرمول ها را بچسبانید. |
PASTE_DATA_VALIDATION | Enum | فقط اعتبارسنجی داده را جایگذاری کنید. |
PASTE_VALUES | Enum | مقادیر را فقط بدون فرمت، فرمول یا ادغام جایگذاری کنید. |
PASTE_CONDITIONAL_FORMATTING | Enum | فقط قوانین رنگ را بچسبانید. |
PASTE_COLUMN_WIDTHS | Enum | فقط عرض ستون ها را جایگذاری کنید. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eCopyPasteType\u003c/code\u003e is used to specify the content pasted from the clipboard in Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eIt's an enumeration within the \u003ccode\u003eSpreadsheetApp\u003c/code\u003e class, called using \u003ccode\u003eSpreadsheetApp.CopyPasteType.PROPERTY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptions include pasting values, formulas, formats, validations, or combinations thereof, as well as only pasting column widths or conditional formatting.\u003c/p\u003e\n"]]],[],null,["# Enum CopyPasteType\n\nCopyPasteType\n\nAn enumeration of possible special paste types.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.CopyPasteType.PASTE_NORMAL`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------------------|--------|-----------------------------------------------------------------|\n| `PASTE_NORMAL` | `Enum` | Paste values, formulas, formats and merges. |\n| `PASTE_NO_BORDERS` | `Enum` | Paste values, formulas, formats and merges but without borders. |\n| `PASTE_FORMAT` | `Enum` | Paste the format only. |\n| `PASTE_FORMULA` | `Enum` | Paste the formulas only. |\n| `PASTE_DATA_VALIDATION` | `Enum` | Paste the data validation only. |\n| `PASTE_VALUES` | `Enum` | Paste the values ONLY without formats, formulas or merges. |\n| `PASTE_CONDITIONAL_FORMATTING` | `Enum` | Paste the color rules only. |\n| `PASTE_COLUMN_WIDTHS` | `Enum` | Paste the column widths only. |"]]