Description |
---|
...
Wiki Markup |
---|
{description} {excerpt}Sets an {{int}} that represents this table cell margin at a particular location in twips. One twip = \(1/20 pt\) or \(1/1440 in\) |
...
Signature | ||
---|---|---|
C# | C# | {excerpt}
{signature:C#}
public void SetPadding(Location location, int value)
|
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Sub SetPadding(ByVal location As Location, ByVal value As Integer)
|
Parameters |
---|
...
A TableCell.Location object that represents ths location of the margin.
...
An int
representing the value of the margin in twips.
Remarks |
---|
Allowed locations are Top, Left, Bottom, and Right, which refer to the default margins for those sides of a table cell. By default, Top and Bottom are set to 0", and Left and Right are set to 0.08". Word equivalent: Table menu > Table Properties... > Cell tab > Options... button > Cell margins section |
Example | |||
---|---|---|---|
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |