Wiki Markup |
---|
{description} {excerpt}Sets or returns the vertical position of the font in relation to other text. {excerpt} {signature:C#} public VerticalPosition ScriptStyle{ get; set; } {signature}{signature:vb.net} Public Property ScriptStyle() As VerticalPosition {signature} {remarks} If the vertical position is [Superscript|Font.VerticalPosition#Superscript], the font will be slightly higher than other text. If the vertical position is [Subscript|Font.VerticalPosition#Subscript], the font will be slightly lower than other text. If the vertical position is set to [None|Font.VerticalPosition#None], the font will be displayed normally. {remarks} {example}{code:csharp|title=C#} //--- Get ScriptStyle Font.VerticalPosition scrStyle = fnt.ScripstStyle; //--- Set ScriptStyle fnt.ScriptStyle = Font.VerticalPosition.Subscript; {code} {code:vb.net|title=vb.net} '--- Get ScriptStyle Dim scrStyle As Font.VerticalPosition = fnt.ScriptStyle '--- Set ScriptStyle fnt.ScriptStyle = Font.VerticalPosition.Subscript {code} {example} |
Page History
Overview
Content Tools