Shadow

Font.Shadow property

True if the font is formatted as shadowed.

public bool Shadow { get; set; }

Examples

Shows how to create a run of text formatted with a shadow.

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

// Set the Shadow flag to apply an offset shadow effect,
// making it look like the letters are floating above the page.
builder.Font.Shadow = true;
builder.Font.Size = 36;

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

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

See Also