Wiki Markup |
---|
{description} {excerpt}Sets or returns an {{int}} that represents the character scaling, stretching or compressing text horizontally as a percentage of its current size. CharacterScaling can be set to a value between 1 and 600 percent. Values beyond these will be automatically adjusted.{excerpt} {signature:C#} public int CharacterScaling{ get; set; } {signature}{signature:vb.net} Public Property CharacterScaling() As Integer {signature} {remarks}MS Word equivalent: Format menu > Font... > Character spacing tab > Scale: {remarks} {example}{code:csharp|title=C#} //--- Return CharacterScaling int charScale = oFont.CharacterScaling; //--- Set CharacterScaling oFont.CharacterScaling = 100; {code} {code:vb.net|title=vb.net} '--- Return CharacterScaling Dim charScale As Integer = oFont.CharacterScaling '--- Set CharacterScaling oFont.CharacterScaling = 100 {code} {example} |
Page History
Overview
Content Tools