TopicTransformationExtensionsToIndent Method

This is used to convert the given size to an indent consisting of two non-breaking spaces for each indent level.

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static string ToIndent(
	this int size
)

Parameters

size  Int32
The indent size (zero for no indent)

Return Value

String
A string containing two non-breaking spaces for each indent level

Usage Note

In 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).

See Also