Wiki Markup |
---|
{description} {excerpt}Sets or returns an {{int}} representing the default tab width for this [Document|Document]. The value that is returned is in twips. One twip = \(1/20 pt\) or \( 1/1440 in\).{excerpt} {signature:C#} public int DefaultTabWidth{ get; set; } {signature}{signature:vb.net} Public Property DefaultTabWidth() As Integer {signature} {remarks}MS Word equivalent: Format menu > Tabs... > Default tab stops {remarks} {example}{code:csharp|title=C#} //--- Return DefaultTabWidth int defaultTabWidth = oDocument.DefaultTabWidth; //--- Set DefaultTabWidth to 1 inch oDocument.DefaultTabWidth = 1440; {code} {code:vb.net|title=vb.net} '--- Return DefaultTabWidth Dim defaultTabWidth As Integer = oDocument.DefaultTabWidth '--- Set DefaultTabWidth to 1 inch oDocument.DefaultTabWidth = 1440 {code} {example} |
Page History
Overview
Content Tools