TopicTransformationExtensionsToIndent Method
This is used to convert the given size to an indent consisting of two non-breaking spaces for each
indent level.
Namespace: Sandcastle.Core.PresentationStyle.TransformationAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static string ToIndent(
this int size
)
<ExtensionAttribute>
Public Shared Function ToIndent (
size As Integer
) As String
public:
[ExtensionAttribute]
static String^ ToIndent(
int size
)
[<ExtensionAttribute>]
static member ToIndent :
size : int -> string
- size Int32
- The indent size (zero for no indent)
StringA string containing two non-breaking spaces for each indent levelIn Visual Basic and C#, you can call this method as an instance method on any object of type
Int32. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).