Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.IMyTextSurface.WriteText

Morten Aune Lyrstad edited this page Apr 16, 2022 · 5 revisions

IndexNamespace IndexIMyTextSurface

Summary

public bool WriteText(string value, [bool append])

Writes text to surface. If somebody opened LCD text in popup dialog, text can no longer be added to the surface. Resulting text must is capped with 100000 symbols

Returns

bool

True if text was added, or replaced. False if somebody was looking at lcd

Parameters

Summary

public bool WriteText(StringBuilder value, [bool append])

Writes text to surface. If somebody opened LCD text in popup dialog, text can no longer be added to the surface. Resulting text must is capped with 100000 symbols

Returns

bool

True if text was added, or replaced. False if somebody was looking at lcd

Parameters

Clone this wiki locally