Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
SpreadsheetApp.BorderStyle.DOTTED.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-12-03 (UTC)."],[[["`BorderStyle` in Google Apps Script is used to define the style of borders applied to a range of cells within a spreadsheet."],["You can apply borders to the top, bottom, left, right, vertical, and horizontal edges of a range."],["Border styles include dotted, dashed, solid (in varying thicknesses), and double lines."],["To set a border style, you need to call `Range.setBorder()` with arguments specifying the desired style and colors."],["`BorderStyle` is an enum within the `SpreadsheetApp` class and its properties (like `DOTTED` or `SOLID`) are accessed as `SpreadsheetApp.BorderStyle.DOTTED`."]]],["Border styles can be applied to a range using `Range.setBorder()`, specifying top, left, bottom, right, vertical, and horizontal borders, along with color and style. The available border styles, accessed via `SpreadsheetApp.BorderStyle`, include `DOTTED`, `DASHED`, `SOLID`, `SOLID_MEDIUM`, `SOLID_THICK`, and `DOUBLE`. Each style corresponds to a different line appearance, ranging from dotted to thick solid lines, as well as double lines.\n"]]