Shadow

Font.Shadow property

صحيح إذا تم تنسيق الخط على أنه مظلل.

public bool Shadow { get; set; }

أمثلة

يوضح كيفية إنشاء سلسلة من النص منسقة بظل.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

// اضبط علم الظل لتطبيق تأثير الظل الإزاحي،
// مما يجعل الأمر يبدو وكأن الحروف تطفو فوق الصفحة.
builder.Font.Shadow = true;
builder.Font.Size = 36;

builder.Writeln("This text has a shadow.");

doc.Save(ArtifactsDir + "Font.Shadow.docx");

أنظر أيضا