//// This code is part of Document Solutions for Word demos.// Copyright (c) MESCIUS inc. All rights reserved.//usingGrapeCity.Documents.Word; namespaceDsWordWeb.Demos{// This example shows how to add a preset 3D effect to a text.publicclassText3DPresetEffect {publicGcWordDocumentCreateDocx() {var doc = newGcWordDocument(); Paragraph paragraph = doc.Body.Paragraphs.Add();Run run = paragraph.GetRange().Runs.Add("Text effects Preset 5"); run.Font.Size = 72f; // apply preset text effects run.Font.ApplyEffectsPreset(FontEffectsPreset.Preset5); // Done:return doc; } }}